Why on earth is this not working? I assumed it would be simple but I must be missing something fundamental here.
Demo page
Editor link
Iâm trying to build a tool for creating a recurring event. My idea is to make something like this where you select a number and then a frequency:
The dropdown on the right is using an option set called âFrequencyâ consisting of these options:
These options have an attribute called âPluralâ which is a text value for the plural form of the optionâs display:
- Days
- Weeks
- Months
My goal is when you select a number greater than 1, then the frequency dropdownâs option caption shows the current optionâs Plural. But it refuses to do it! The option caption flat out wonât change.
What am I missing? Hereâs a link to the editor of an example page I set up to demonstrate this issue.
Some editor screenshots:
Hereâs where I tried to set up a condition where the caption should show the current optionâs Plural text value when the first dropdownâs value is greater than 1:
Itâs not working the way I think it should (itâs supposed to say âWeeksâ here):
Any idea why the debugger would say the current option is null? It doesnât look null to me!
Iâm stumped.