Currently we don't have any provision to add ngFormOptions and ngModelOptions to controls which got introduced with Angular 5 (form updates). It would be really nice if we provide support for these options which will help us to enrich user experience especially in terms of validation.
Proposed solution:
For model options, we can introduce a new field ngModelOptions in widgetOptions aka layout node options which will be supplied to FormGroup, FromArray and FromControl constructor in buildFromGroup function via template argument.
For ngFormOptions, we can introduce new field in formOptions but how it's gonna be used internally that we might need to ponder upon.
Currently we don't have any provision to add
ngFormOptions
andngModelOptions
to controls which got introduced with Angular 5 (form updates). It would be really nice if we provide support for these options which will help us to enrich user experience especially in terms of validation.Proposed solution: For model options, we can introduce a new field
ngModelOptions
inwidgetOptions
aka layout node options which will be supplied toFormGroup
,FromArray
andFromControl
constructor inbuildFromGroup
function viatemplate
argument.For
ngFormOptions
, we can introduce new field informOptions
but how it's gonna be used internally that we might need to ponder upon.