formly-js / angular-formly

JavaScript powered forms for AngularJS
http://docs.angular-formly.com
MIT License
2.23k stars 406 forks source link

runExpressions() does not trigger hideExpression #715

Open Ahnde opened 7 years ago

Ahnde commented 7 years ago

Hey,

I am trying to validate my fields according to the content of other fields. So if a specific value changes, I want to re-trigger the "expressionProperties" AND the "validators" AND the "hideExpression". To do so I can execute "runExpressions()" and "formControl.$validate()", but I don't see any trigger for "hideExpression".

Should't this be part of "runExpressions()"?

Greetings