Giter Site home page Giter Site logo

Comments (6)

AustinGil avatar AustinGil commented on July 27, 2024 2

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.

AustinGil avatar AustinGil commented on July 27, 2024 1

Yeah. Im sorry, I really want to keep pushing out cool stuff, but I've had a lot on my plate...

image

from vuetensils.

Kikketer avatar Kikketer commented on July 27, 2024 1

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.

SeekerOfTrueCode avatar SeekerOfTrueCode commented on July 27, 2024

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.

SeekerOfTrueCode avatar SeekerOfTrueCode commented on July 27, 2024

I see, if that's the case then we just have wait for those custom components :)

from vuetensils.

AustinGil avatar AustinGil commented on July 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.