react-lightning-design-system
react-lightning-design-system copied to clipboard
Setting value prop of Picklist to an empty string does not update the picklist value
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.
+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.