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
I'd like to be able to call a function with an argument from within an element's attribute definitions. This would greatly simplify my controller code for my forms. Is there any way to get around this limitation?
The text was updated successfully, but these errors were encountered:
Unfortunately, this would make the parser a bit more complicated (and a bit slower) because it would have to keep track of opening/closing parentheses.
As a workaround, call your functions in advance, storing the values in variables / view locals. Then, plug those in as the attribute values. I'm sure you're probably doing this already...
I'd like to be able to call a function with an argument from within an element's attribute definitions. This would greatly simplify my controller code for my forms. Is there any way to get around this limitation?
The text was updated successfully, but these errors were encountered: