Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

angular sanitize vs validators

this.myForm = formBuilder.group({
    firstName: ['value'],
    lastName: ['value', *validation function goes here*],
    age: ['value', *validation function goes here*, *asynchronous validation function goes here*]
});
Source by www.joshmorony.com #
 
PREVIOUS NEXT
Tagged: #angular #sanitize #validators
ADD COMMENT
Topic
Name
1+5 =