yuche / vue-strap

Bootstrap components built with Vue.js
http://yuche.github.io/vue-strap/
MIT License
4.71k stars 929 forks source link

Select [suggestion] #368

Open jankincl opened 8 years ago

jankincl commented 8 years ago

I see that you updated code in the select component just few hours ago. I checked also the bootstrap-select, which you referred as inspiration and really like the Title parameter, when you want to display some different (for example shorter) text than Label in the Select once an option is selected. This is what I mean:

Would you think about integrating that in your component? If not, I might try it on my own.

Thanks!

wffranco commented 8 years ago

About the select I don't integrate the label, in fact I removed justified, all that because that way you could do things like that: https://jsfiddle.net/wffranco/nyrt4q01/ If I add that features, then need too much validations and html or component duplication, making a bigger and very complex component, so I prefer to make it simpler but more flexible. Need some corrections in button groups but i'm still working on it.

Greeting.