Closed IsraelLinioMx closed 9 years ago
Is there a reason it has to be called data
instead of value
? I'm not saying either way is correct, but since we are adding a defaultValue
key, it might make sense to keep the parameter with either the same or similar name.
Yes @nesl247 , in symfony we have to define that key as data
but when we send this value to Angular-Formly
we need that this key will be called defaultValue
. http://angular-formly.com/#/example/field-options/default-value
Ah ok. I avoid Symfony forms at all cost, forgot about that.
defaultValue
key to retrievedata
value forFormlyField
of type:NumberField
.