Comments (1)
The defaultValue
you're referring to would more accurately be called the "initial value." Having an initial value does not preclude the control from having no value entirely, which is what the "clear" button does.
If you want to prevent the user from clearing the value, use the clearable={false}
prop.
from react-select-plus.
Related Issues (20)
- Possible to select groups? HOT 1
- Custom options for Group HOT 3
- Please update to react-select 1.2.0 HOT 2
- OptionGroup throws errors when setting dragging property
- Async multi-select sometimes hides the menu incorrectly after selecting a value HOT 1
- Option Groups are not searchable
- Remove Selected not working
- Force drop-down menu to open HOT 8
- Non-clearable Selects can be cleared (with backspace) HOT 1
- Cannot select menu items on mobile
- Huge problem with infinite loop options into group. HOT 1
- Remove Selected Disables Options
- Search input clears on selection
- Not work with react-datepicker HOT 1
- delete key is not affecting input text
- No supports for react 16+ HOT 4
- possible to trigger onChange event from outside of component ??
- TypeError: Cannot read property 'string' of undefined HOT 3
- If I use the cdn links to import react-select-plus, Then how to use CreatableSelect? Its not working by importing.
- Trying to get in touch regarding a security issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-select-plus.