react-lightning-design-system icon indicating copy to clipboard operation
react-lightning-design-system copied to clipboard

Setting value prop of Picklist to an empty string does not update the picklist value

Open miloandmilk opened this issue 5 years ago • 1 comments

It seems that a truthy check is done on the prop value which returns false for an empty string (which i have as a value in a picklist item). In the case where the value prop is updated to the empty string "", the Picklist component does not update to this value. Any other string is OK.

miloandmilk avatar Sep 19 '18 09:09 miloandmilk

+1. I am using this picklist component as a dependent picklist against another. Based on the selection of the first picklist, I need the ability to clear this one out, but haven't found a solution.

streco avatar Oct 23 '20 23:10 streco