Comments (5)
This happened with the TagBuilder component. If you don't press the ⏎ or , key, the last element/tag you enter won't be added to the value of this component.
As it's kind of hidden to the user if it's a TagBuilder or TextField component (styling is very similar), the user won't know if he has to press ⏎/, or not. Once he submits the form without pressing those key within that field his last input get's lost.
Is there an option to trigger the finish of a Tag within the Component upon form submission?
from precise-ui.
Is there an option to trigger the finish of a Tag within the Component upon form submission?
My opinion here is that the last piece of the TagBuilder
input should always be considered an element (that is still in "edit" mode; but that does not take away its status as being a valid element or "tag").
I guess that requires some internal rework of the component, but it would be the most natural behavior and comply with the implementation of similar components on other websites.
from precise-ui.
I have got an idea to add the new directive into TagBuilder
to turn on(off) auto submission of the edited tag on onBlur
event. It can look something like this:
<TagBuilder appendTagOnBlur/>
from precise-ui.
I will implement this appendTagOnBlur
prop as proposed by @dimabory.
from precise-ui.
@FlorianRappl @jotdl are you ok with it?
from precise-ui.
Related Issues (20)
- Fix spacing on icons for mobile button mode
- Add possibility remove close button on Notification components.
- [Table] Not possible to sort the custom column
- Console Warning
- TextField input UI inconsistent when scrolling + bad word break
- FileUpload of fresh photos from iPhone/IPad not working in sequence
- Change modal border color HOT 1
- Incorrect behavior inside Tab component while switching screen size between mobile and desktop view
- DateField: selected date isn't marked as selected when using with "Form"
- The error in the Form component example in the kitchensink HOT 1
- Grouped elements in Table aren't sorted properly
- AutocompleteTagBuilder component does not have functional `onBlur` and `onFocus` props
- `GridCell` `overflow` prop
- RadioButton component becomes egg shape
- IconLink without label is not coloured as an active action (i.e. ui0)
- AccordionTable triggers onChange twice when clicking the expand arrow
- pass onPageSize changed event from the PaginationBar component to the Pagination component.
- WCAG: Table has wrong header
- Image does not refresh if `preload` is `true`
- New Feature of SnackBar
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 precise-ui.