Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is good to use?
Message
 
 
À
04/02/2016 13:59:12
Information générale
Forum:
Javascript
Catégorie:
Autre
Divers
Thread ID:
01630833
Message ID:
01630848
Vues:
25
>>Hi,
>>
>>If I want to only allow entering characters, numbers and _ in the angularJs application for a particular column's value, what is good to use?
>>
>>We do have jquery.maskedinput.js in the application and I see some samples in the app such as
>>
>>
>>$(".phone").mask("(999) 999-9999? x99999");
>>
>>I don't like that much as it mixes angularJs code and jQuery code. Wondering if there is another approach to take. What do you recommend?
>>
>>Thanks in advance.
>
>ng-pattern ?

Thanks, will check that property.

UPDATE. It doesn't really restrict entering anything but it allows to check for validity.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform