You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice the ":" before attribute.
When this and when {{ selected }} value is undefined, NULL and/or false, then :selected attribute get removed from tag.
Maybe would better a custom plugin that loop over tag with such attributes and remove attribute when condition match?
What do you think?
The text was updated successfully, but these errors were encountered:
It seem that it's not possible to set attributes via locals, but only values.
So it's not possible to set dynamically the "selected" or "disabled" attribute to a select or input tag.
It's that correct?
I tried several things but seem not working.
Would be possible to set something like:
Notice the ":" before attribute.
When this and when {{ selected }} value is undefined, NULL and/or false, then :selected attribute get removed from tag.
Maybe would better a custom plugin that loop over tag with such attributes and remove attribute when condition match?
What do you think?
The text was updated successfully, but these errors were encountered: