New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example of Category Drop Down List #81
Comments
Will, could please post things that are not bugs or issue here: Schema: Options: |
I completely missed the discussions. Sorry. :( |
np :-) |
I'm not sure I followed what you were trying to tell me to do here... I looked at the existing schema and options, and I think that they pretty much looked the same. Here's what I'm trying to do... How do I properly wire that up?
|
Ok, sorry, I thought you meant in the edit interface.. |
So there's not an existing example in the templates that shows how to do this that I'm missing? :) |
Hmmm... I just tried re-working what I had to match the example in the link and it didn't render properly and it's still not wired up. In my example above, it looks correct and the select list is loaded, but selecting a category is not changing the results. |
You need to set data-control-name with the opencontent field name For exemple for category of articles template : The filter controls in jplist need to be defined in a div with class="jplist-panel" |
For reference: https://opencontent.readme.io/discuss/5c0073312cc7e00041076f56 |
I also used a form group to still have a dropdown feel: the code in template.hbs: `
|
Does anyone have any examples of using a drop down list for the categories? All I can find are renderings of the categories as a checkbox list.
The text was updated successfully, but these errors were encountered: