niklaspor / ngrx-clean-forms Goto Github PK
View Code? Open in Web Editor NEWNgRx integration for forms in Angular.
Home Page: https://ngrx-clean-forms.surge.sh
License: MIT License
NgRx integration for forms in Angular.
Home Page: https://ngrx-clean-forms.surge.sh
License: MIT License
The strong typing is a large part of the framework.
Having error types available in the template would be great.
If you copy and paste text values in safari, you can not edit it in the middle of the word. The cursor automatically jumps to the end of the text.
Hey man,
I really like your work, however I feel that the ngrxControl directive should rather be named ngrxFormControl to increase clarity.
This is all for now.
The current Readme file is missing information about the usage of the FormArray
.
It should be added in the chapter Additional Resources.
For an easy usage of the package a complete documentation of the public-api
is necessary.
This should only target the apis which will exist after #2 is resolved.
The example app should be available at a hosted domain.
should be:
The methods:
mapFormControlStates
mapFormControlSummaries
mapFormControlUpdates
Should be renamed to:
mapFormGroupControlStates
mapFormGroupControlSummaries
mapFormGroupControlUpdates
As they are only FormGroup specific this will increase the clarity.
Pristine behaviour inside @angular/forms marks if the value was changed in any way, but does not get reverted if it was changed back.
Add a method for resetting a form. Should keep the validators and except for that reset to the initialValue.
An option for resetting to a specific value would also be helpful.
Reduce the width of the public-api. This will lead to an easier usable package.
The reducers
& init
directories are already in a valid shape.
The nesting of formGroups & formArrays is by intention not possible. This should be mentioned in the docs. Maybe add a faq.
The docs should show how to use FormArraySummary.keys
to iterate over the controls of a FormArray.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.