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
Is it possible to access template variables from a function (non compiler) tag/modifier?
For example, I want to automatically display a field error from $errors variables assigned to the template. I could create a tag {error "field"} which will automatically display the field error if it exists in the $errors variable. But I can't find the way to access the assigned variables.
The text was updated successfully, but these errors were encountered:
I would like to have this new functionality
Hi,
Is it possible to access template variables from a function (non compiler) tag/modifier?
For example, I want to automatically display a field error from
$errors
variables assigned to the template. I could create a tag{error "field"}
which will automatically display the field error if it exists in the$errors
variable. But I can't find the way to access the assigned variables.The text was updated successfully, but these errors were encountered: