Comments (2)
Hi, I have the same issue. Sadly there is no way to catch the backspace event too to prevent this right now.
from chakra-ui-autocomplete.
This is an accessibility enhancement, The backspace is supposed to delete selections by design, unless you would be proposing a prop that will disable this default behaviour, of only allowing users to delete their inputs, however most users design their tags to be present in the input box, and in this case, the backspace simulates the behaviour of deleting the selected items even though they aren't primitive input values.
So we need to think about this in a manner that is both accessible and controlled.
from chakra-ui-autocomplete.
Related Issues (20)
- Please make label not required!
- Keep options expanded if input loses focus HOT 1
- Hide options after selection HOT 1
- Option to single selection HOT 3
- Ability to select an item from a method (programmatically) HOT 2
- "Create " text infront of my data in dropdown field HOT 1
- renderCustomInput doesn't work HOT 1
- Change color of highlighted elements (Yellow color)
- Dropdown causes navbar size to change HOT 5
- Duplicating values on unselecting when initial value is given HOT 2
- Add All contributors
- BUG package.json HOT 4
- question: downshift combobox overlay or popover? HOT 3
- colorMode pass-through and Native Dark Mode support HOT 1
- Add element duplicated, not delete it HOT 6
- Dependency error HOT 7
- Making the item list scrollable HOT 1
- Bug when repeatedly adding & removing tags
- No option to style the selected tags or selected tags in suggestion list
- all contributors HOT 28
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 chakra-ui-autocomplete.