How to put field validation on ui:inputtext
in JavaScript
using lightning component?
Below is my html code:
<ui:inputText
class="slds-form-element__control slds-input"
value="{!v.CustomerPo}"
aura:id="customer_po"
maxlength="35"/>
kindly reply
You can validate your input like the following way: