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
{{ message }}
This repository has been archived by the owner on May 11, 2023. It is now read-only.
For example in the definition of a custom validation of a select component you can see "The global variables input, component, and valid are provided.". But when I put
console.log(component)
valid = true
in the editor I get runtime "component is not defined" in red letters below the element. For global variable input the console.log works as expected.
But what I would really like to have is a way to change the label of another element in the form depending on the input value of this select. Do you have a suggestion on how to accomplish this?
The text was updated successfully, but these errors were encountered:
StefanHoutzager
changed the title
components not available in "custom validation"
"component" not available in "custom validation"
Jan 18, 2017
For example in the definition of a custom validation of a select component you can see "The global variables input, component, and valid are provided.". But when I put
in the editor I get runtime "component is not defined" in red letters below the element. For global variable input the console.log works as expected.
But what I would really like to have is a way to change the label of another element in the form depending on the input value of this select. Do you have a suggestion on how to accomplish this?
The text was updated successfully, but these errors were encountered: