Comments (6)
I have a couple of thoughts on this. I do want the documentation to go into more examples of what the full extent of custmoization is. I'm also not sure what sort of customization you're talking about.
The intent for components named after HTML tags (VForm, VInput) is to behave as close to their native counterparts as possible but with some super powers. So <VInput type="select">
should implement a select element and behave the same way, with all the good and bad that it means so that users know what to expect. Selects are inherently limited for customization, but if the customizations you have in mind can be done with the native <select>
and <option>
, then I'm all for it.
Regarding a select component that is even more customizeable (multi tag selection, search filter for options, custom html options) I've already thought about implementing something that would solve your issues, but as a different component than <VInput>
The names "combobox" or "multi-select" come to mind from what I've seen most often.
There is an excellent article that I think gets the closest to what I would like to do https://sarahmhigley.com/writing/select-your-poison/
I'd really like to add this as well because I think it's quite a common element, but its a matter of time. The most important thing is that it's accessible and intuitive, and I think the hardest part has been finding an example that does it all well. The article above is probably my favorite so far.
from vuetensils.
Yeah. Im sorry, I really want to keep pushing out cool stuff, but I've had a lot on my plate...
from vuetensils.
I'm currently just experimenting with Vue and seeing how it would compare to what I'm currently building with React. This library is a really good 1:1 fit with A11Y components, except for the select box. I realize it's incredibly complicated and take this as a "keep it up".
What we are using for the select element is the Adobe Aria library (https://react-spectrum.adobe.com/react-aria/useSelect.html). It's incredibly complex but it works. Seeing the inputs you have setup for "auto labels" and the like are really really appealing.
Keep up the good work, I'm keeping my eye on Vue and the well built libraries such as this.
from vuetensils.
Yes, as we know the native html select inputs are not fully style-able in terms of it's options.
Because of that many component libraries decided to use "divs" and other elements to simulate the select input and give it full css cross-browser customization.
But often those solutions make the component "messy" in terms of having too many html elements.
I don't know where is the best solution nor if it exist but I would like to know if this problem is or will be addressed.
from vuetensils.
I see, if that's the case then we just have wait for those custom components :)
from vuetensils.
Thanks @Kikketer. I really appreciate the kind words. Im looking forward to nailing some stuff down for the v1 release, but I keep finding more things to fix o.O
from vuetensils.
Related Issues (20)
- Intersect question: how to observe many child elements in v-for loop HOT 3
- [feature] - add complementary role to VAlert HOT 7
- Feature request? tree component? HOT 2
- Error "export 'version' was not found in 'vue' HOT 6
- Feature: Focusout HOT 2
- Import errors in Vue2 with Vite HOT 7
- [Vue warn]: Error in render: "TypeError: errors.get is not a function" HOT 5
- [Feature Request] allow localization of the buttons of the datepicker HOT 5
- [Feature Request] i18n HOT 1
- [Feature Request] VDate: allow inline usage HOT 3
- vue 3 support ? HOT 2
- Website docs don't show any examples anymore HOT 5
- VAlert dismissible doesn't work with scoped css HOT 5
- Vuetensils: TypeError: Object(...) is not a function HOT 5
- Drawer sliding animation HOT 4
- Browser compatibility HOT 7
- [Feature Request] Support Vue 2.7 by upgrading vue-demi to ^0.13 HOT 6
- Failed to resolve entry for package "vuetensils" HOT 3
- Input still has error styling after changing error conditions HOT 9
- Enable class customisation for individual notifications HOT 4
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 vuetensils.