0

Below is the line of code for input element:

<lightning:input 
  type="text" 
  aura:id="input1" 
  label="{!$Label.c.Helptext}" 
  maxlength ="20" 
  value="{!v.case.valueChek}"/>

So when i enter this component in laptop or dekstop or from iPhone browser (Chrome and Safari) am not able to enter more then 20, even thoguh u try to enter it will not proceed.

But this is not happening in Android device (Google Chrome Browser), am able to enter more then 20, as muh as I can for a text i can go. Also it is allowing to enter the value having lenth >20 but saving only till 20 char length.

What should be done for Android device that it should not allow the user to enter value at the first place.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.