React-select: Unable to clear selection if value is boolean false

Created on 29 Nov 2016  路  4Comments  路  Source: JedWatson/react-select

I use a Select with 3 possible values: true, false and null (null being the default)
The select is clearable.
When I select the true option, no problem to clear the select.
However, if I select the false option, the clear button is not displayed.

See https://plnkr.co/edit/rZPhbvO3ajW2MxIoJYmm?p=preview

Most helpful comment

I submitted a PR to fix the issue, just waiting for it to be merged

All 4 comments

+1 Having the same issue

I submitted a PR to fix the issue, just waiting for it to be merged

Same issue with 1.0.0-rc.3

Will be solved once https://github.com/JedWatson/react-select/pull/1395 is accepted and merged

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mjuopperi picture mjuopperi  路  3Comments

Meesam picture Meesam  路  3Comments

geraldfullam picture geraldfullam  路  3Comments

AchinthaReemal picture AchinthaReemal  路  3Comments

x-yuri picture x-yuri  路  3Comments