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 Apr 30, 2018. It is now read-only.
Can you make your condition a different input with a default value ? Why does it need to be in that config ? No you can't look up template options in model and there's no field dictionary Currently exposed on the scope I'm aware of
AFAIK there is no way of doing this without writing some code, you can add something to formState to access as noted. you can add whatever u want to formState to share it across other components and to use inside expression. Personally what Id do is add those items in a dictionary to the formState. I recently did this by forking the repo and creating a formMap to add within the formState. formMap maps keys in the data model to the respective component's formControl. You can do something similar, probably without having to need to fork the repo, too. Since you can supply customizations to the templates that you register, u can register a controller to mutate formState however desired. Theres a lot of options.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I want to hide the phone fiels if name field templateOptions custom property value is 'V1'
but this way is not working.
How can I use templateOptions properties in hideExpression. How can I reference values in this properties for use in expresions in field definitions.
Thank you
The text was updated successfully, but these errors were encountered: