Sunday, October 31, 2021
Angular 12 select box with default value, required validator and state-city dependency
Angular 12 select box binding to an object list
In this sample the city field binds with CityList which is a list of objects consisting of id and names.
Required field validator is applied.
Angular 12 select box with a simple string list binding
Most Basic angular select box which binds to a list of strings. It has a "Choose" option and a required validator applied.
Sunday, October 24, 2021
frmabc = this.fb.group({
Basic Angular Reactive Form Validation with Validation messages
1. app.component.html
2. app.component.ts
NOTES :
1. maxLength validator put in ts file will not by itself restrict the input to max length. To restrict the input to maxlength, use the maxlength attribute in .html also, in addition to the one in .ts.
<input .... maxlength = "10" />
2. If you get "possible null value" error, do not forget to use the "?" operator.
using Microsoft.AspNetCore.Mvc; using System.Xml.Linq; using System.Xml.XPath; //<table class="common-table medium js-table js-stre...
-
Most of the google tutorials on keras do not show how to display a confusion matrix for the solution. A confusion matrix can throw a clear l...
-
Bootstrapping is the process of starting application in angular. The entry point for an angular application is index.html. Index.html loa...
-
http://www.sommarskog.se/share_data.html How to Share Data Between Stored Procedures An SQL text by Erland Sommarskog, SQL Server MVP. M...