Code Generator for React/Vue/Angular+Apis NodeJs/.Net Core/Asp.net/Php+Databases MongoDB/MsSql/MySql
Generates CRUD forms for the given database schema with a single click. Can select the controls for the fields, apply required field validation, client search feature, pagination, export to excel, print etc features. In three popular client side JavaScript frameworks ReactJS(14.0) /VueJS(3.0) /Angular(10/9/8) with different Rest APIs NodeJS, Core.net ,Php with databases MongoDB /MsSQL /MySQL.The…
Code Generator for React/Vue/Angular+Apis NodeJs/.Net Core/Asp.net/Php+Databases MongoDB/MsSql/MySql
Generates CRUD forms for the given database schema with a single click. Can select the controls for the fields, apply required field validation, client search feature, pagination, export to excel, print etc features. In three popular client side JavaScript frameworks ReactJS(14.0) /VueJS(3.0) /Angular(10/9/8) with different Rest APIs NodeJS, Core.net ,Php with databases MongoDB /MsSQL /MySQL.The…
Angular reads the html template, and see the form tag as a special case
We want angular to handle the submit of the form which will be triggered by the button of type ‘submit’ present inside the form
We listen to that event by placing (ngSubmit) on the form selector.
A reference with the hash symbol can be placed on the form selector, to create a reference to the form.
That reference should be set to ngForm.
The created reference can be passed for processing inside theTypsecript code, by mentioning it as an argument to the function which is bind to ngSubmit event like :
The form, elements which are have ngModel directive and the groups, all have properties like touched, dirty, valid, invalid, which can help in validating the form
For enabling HTML5 validations which might be disabled by default, place ngNativeValidate on form.
setValue method of ngForm can be user to set the value of complete form and it is directly available on ngForm object.
pathValue can be used to update the partial value of the form and it is available on form property of the ngForm object,(not directly on ngForm)
reset() function on the ngForm can be used to reset the form, which will clear everything.
If reset means setting default value, one can use patch value for the same