how can i capitalize first letter in form filed angular code example
Example: angular pipe to capitalize first letter
transform(value:string): string {
let first = value.substr(0,1).toUpperCase();
return first + value.substr(1);
}
transform(value:string): string {
let first = value.substr(0,1).toUpperCase();
return first + value.substr(1);
}