formly-js / angular-formly

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

hideExpression and updateInitialValue() #701

Open andreipet opened 7 years ago

andreipet commented 7 years ago

Hello, I'm trying to submit data with fields hidden. I get "field.updateInitialValue is not a function" if one field is hidden with hideExpression and in submit I call updateInitialValue(). Hide works but I get the warn: You have specified hide in expressionProperties. Use hideExpression instead. http://jsbin.com/jubovecuja/edit?html,js,output Thank you.