The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

angular-formly: expressionProperties

angular-formly: expressionProperties

4:27
angular-formly provides a very simple API to dynamically change properties of your field (like disabled, hidden, and required) using the powerful expressionProperties property on your field.
Watch this lesson now
Avatar
egghead.io

angular-formly provides a very simple API to dynamically change properties of your field (like disabled, hidden, and required) using the powerful expressionProperties property on your field.

Avatar
Kent C.

One important thing to note is that because of how ng-if works, using expressionProperties to hide a field can yield unexpected results. In the latest version of angular-formly (as of yesterday, it's still beta) you can specify a hideExpression instead. See this example

In reply to egghead.io
HEY, QUICK QUESTION!
Joel's Head
Why are we asking?