A component is changing an uncontrolled input of type text to be controlled error in ReactJS - Formik
https://stackoverflow.com/questions/47012169/a-component-is-changing-an-uncontrolled-input-of-type-text-to-be-controlled-erro
default value can't be undefined
case 'listingBrokerOfficeName':
value = (listingBroker || {}).officeName
break
change to:
case 'listingBrokerOfficeName':
value = (listingBroker || {}).officeName || ''
break
Comments
Post a Comment