<span editable-text="contact.phoneNumber" maxlength="5" e-name="phoneNumber" e-form="contactForm" >
{{ contact.phoneNumber || '' }}
</span>
I have used the directive inside a span and it is generating and inputbox on run time, when we click on a button to edit the Contact Number. I want to add a maximum length to this input box. Any suggestions?
you can use
e-maxlength e-minlength
if you see the documentacion , on e attribute you have this:
Attributes defined with e-* prefix automatically transfered from original element to control.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With