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 12, 2024. It is now read-only.
ngModelOptions is a great feature, but I'd love to be use ngModelOptions on a form element, and have those options inherited by default for each field of the form. I often have a set of fields in a form that should all have the same ngModelOptions, but in the current implementation I have to specify ngModelOptions for each field individually. If one were to specify ngModelOptions at the form level, I could avoid repeating myself. It should still be possible to override those form-level options by specifying ngModelOptions for a particular field.
Also, perhaps a service or provider should allow the default ngModelOptions values to be specified globally? So the option inheritance would would be: global options -> form options -> field options.
The text was updated successfully, but these errors were encountered:
ngModelOptions is a great feature, but I'd love to be use ngModelOptions on a form element, and have those options inherited by default for each field of the form. I often have a set of fields in a form that should all have the same ngModelOptions, but in the current implementation I have to specify ngModelOptions for each field individually. If one were to specify ngModelOptions at the form level, I could avoid repeating myself. It should still be possible to override those form-level options by specifying ngModelOptions for a particular field.
Also, perhaps a service or provider should allow the default ngModelOptions values to be specified globally? So the option inheritance would would be: global options -> form options -> field options.
The text was updated successfully, but these errors were encountered: