design-system-react
design-system-react copied to clipboard
<SLDSPicklistBase/> throws error on 'props.value' change to null
<SLDSPicklistBase
...
options={[{"label":"Emerson","value":"emerson001"},{"label":"Emerson Input","value":"emerson_input001"}]}
value={undefined}
/>
|| /
<SLDSPicklistBase
value={"emerson001"}
/>
|| /
<SLDSPicklistBase
value={null}
/>
||
/
Uncaught TypeError: Cannot read property 'value' of undefined
https://github.com/salesforce-ux/design-system-react/blob/a860be2e195f264aab2c9b2327996de1441e39e8/lib/SLDSPicklistBase/index.js#L97
fixed v0.0.18