angular-xeditable icon indicating copy to clipboard operation
angular-xeditable copied to clipboard

Validate input field

Open fnbns opened this issue 9 years ago • 4 comments

Hello, is there a way to validate the input field created, change it to numbers or apply ng-patterns ?

Thank you, Alex.

fnbns avatar Feb 06 '16 19:02 fnbns

i want this validation too......so is there any solution???

pakTech786 avatar Mar 03 '16 19:03 pakTech786

Yes, replace this inline edit with an input box that has no borders, there are many angular alternatives for this (e.g. http://www.tamas.io/inline-editing-with-angularjs/). Basically you have to use a normal input and do the validation in pure angular style on that input.

Let me know any questions, Alex.

fnbns avatar Mar 07 '16 13:03 fnbns

You can use a input type="number" for number input.

You could try the html5 pattern attribute for applying patterns.

ckosloski avatar Aug 15 '16 15:08 ckosloski

@fnbns can this issue be closed?

ckosloski avatar Aug 16 '17 14:08 ckosloski