Skip to content

Support for ngFormOptions and ngModelOptions #293

Open
@hk-skit

Description

@hk-skit

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions