-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dynamic-forms): dynamically add, edit, remove Form Controls (#787)
* fix(dynamic-forms): #624 dynamically add, edit, remove Form Controls At runtime, have the ability to dynamically add, edit, remove Form Controls closes #624 * fix(dynamic-forms): #624 add validateDynamicElementName back * chore(): simplify code by adding/removing controls and forcing a manual update manual updates are great since checking if an array or its content has changes can be expensive in the long run, and most of the time not needed.. adding a refresh method gives the power to the developer to rerender the form if needed. * chore(dynamic-forms): load README.md and add refresh method to its API * feat(dynamic-forms): make flex width % configurable via element interface * feat(dynamic-forms): support OnPush change detection * feat(dynamic-forms): add demo to build your own form * fix(dynamic-forms): add small fix for times where the control is created a bit later * feat(dynamic-forms): add valid submit button to demo * chore(dynamic-forms): add comments to code * docs(dynamic-forms): new side-by-side pattern
- Loading branch information
1 parent
d88d0be
commit e7be2a8
Showing
8 changed files
with
283 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.