- changed title to Warning is shown for onError and onClearErrors on ui:inputXXX
Warning is shown for onError and onClearErrors on ui:inputXXX
I have noticed on Lightning Components that warnings are shown that onError and onClearErrors are not allowed on ui:inputXXX
However the documentation indicates they are see - https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/js_validate_fields.htm
Example: <ui:inputPhone aura:id="businessPhone" label="Business Phone" class="slds-input slds-form-element__control field phoneNumber" labelClass="slds-form-element__label" value="{!v.busPhone}" maxlength="12" required="false" placeholder="07 1234 5678" updateOn="keyup" keyup="{!c.validateRequiredField}" onError="{!c.onFieldError}" onClearErrors=""/>
Comments (6)
-
reporter -
repo owner Tony, I'm going to be updating the XSDs for these components next week for Winter '17. I'll make sure these are handled properly while I'm in there. Thanks for the report!
-
repo owner - changed version to 1.8.0.4
-
repo owner - changed status to resolved
Delivered in 1.8.0.4.
-
repo owner - changed component to Lightning (Aura)
-
repo owner - changed component to Aura
- Log in to comment