You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using "controlledField" decorator, use the "onChange" and "onBlur" properties to the extra control.
letMyInputComponent=(props)=>{return(<inputtype={props.type}value={props.value}onChange={props.onChange}// this is the injected handleronBlur={props.onBlur}// this is the injected handler/>)}MyInputComponent=controlledField()(MyInputComponent)<MyInputComponentform="t"name="a"onChange={extraChangeControl}onBlur={extraBlurControl}onReset={extraResetControl}/>
Requirements
The extra "onChange" and "onBlur" handlers should be invoked after controllers update.
The text was updated successfully, but these errors were encountered:
When using "Field" component, allow provide an "onBlur" property to do extra "blur" control.
When using "controlledField" decorator, use the "onChange" and "onBlur" properties to the extra control.
Requirements
The text was updated successfully, but these errors were encountered: