No values displayed after upgrade
See original GitHub issueI have upgraded from 1.1.0 to 3.1.0 and can’t get the values to display on load. All I did was changed multi to isMulti, since this changed in the newest version, but I don’t know if I need to change anything else.
This worked in 1.1.0:
<Select className={
${touched && error ? ‘form-input-error’ : touched && (valid && input.value.length > 0) ? ‘form-input-success’ : ‘’} form-white mb-1} name="" placeholder={placeholder} value={input.value} {...input} onBlur={() => {input.onBlur(input.value.value)}} options={options} isMulti={multi} />
The problem is, that on the field load, the values are not displayed (only the placeholder) and onBlur is also not working.
Issue Analytics
- State:
- Created 3 years ago
- Comments:16
Top GitHub Comments
@stefancic Ok, I’m pretty confused now what’s going on. I’ve prepared a codesandbox in here which works. Can you please edit it to whatever use-case you have so that we can see fully non-working example? Then we can help better.
@stefancic just checking in to see if this is still an issue or if this can be closed