I've created some listboxes as TVs, but the &presets parameter only works on text input TVs. I tried using some conditional logic on [[+npx.value]] placeholder n the "npListOptionTpl" chunk to compare values, (e.g. [[+npx.value:is=1:then=selected:else=``]]), however, it appears that placeholders cannot be used with snippets.
While a simple workaround would be to not use dropdowns and just swap TVs out for text inputs, I'd like to maintain the functionality of a listbox in the Manager for admins.
I've created some listboxes as TVs, but the &presets parameter only works on text input TVs. I tried using some conditional logic on [[+npx.value]] placeholder n the "npListOptionTpl" chunk to compare values, (e.g. [[+npx.value:is=
1
:then=selected
:else=``]]), however, it appears that placeholders cannot be used with snippets.While a simple workaround would be to not use dropdowns and just swap TVs out for text inputs, I'd like to maintain the functionality of a listbox in the Manager for admins.