-
Notifications
You must be signed in to change notification settings - Fork 9
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
Use different tpl for a single select or multiselect #62
Comments
Are you sure you need a separate Tpl chunk? You can use different classes for single and mult-select listboxes. This example is from the docs (the first one is single-select):
|
Hi Bob thank you for the fast reply. https://www.creative-tim.com/twcomponents/component/multi-select-alpine-js |
Very nice. I did essentially the same thing with Notify/Subscribe for selecting user groups to send to, though I can't find the code for it. I'm swamped as usual and don't have time to integrate this into NewsPublisher, but I'm open to a PR for it. |
Hi,
I need to use different ocde for a listbox multiselect and single select.
Both use optionoutertpl now and have
[[+npx.multiple]]
added, but is it possible to have a seperate tpl for a multi select option?The text was updated successfully, but these errors were encountered: