Here is my ng-pattern= "/^[0-9]+(.[0-9][0-9])?$/i"
which will allow only any digits and decimal followed by 2 digits, but I want it to match empty string too.
How can I do it?
Here is my ng-pattern= "/^[0-9]+(.[0-9][0-9])?$/i"
which will allow only any digits and decimal followed by 2 digits, but I want it to match empty string too.
How can I do it?