-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
option and selected-option can be templated #202
Conversation
@edwindj thank you for the contribution! This has probably been the number one requested feature and has been on my roadmap for a long time now. When I saw scoped slots came out, I figured this would be possible but hadn't investigated yet. Going to checkout the branch and have a look now - but I don't expect to request any changes. Planning to have this rolled into the |
I wonder if the API could be simplified just a touch by making the |
I think that is a good idea! Simple beats complex :-)
Op di 2 mei 2017 20:56 schreef Jeff <notifications@github.com>:
… I wonder if the API could be simplified just a touch by making the option
slot the default, just so that you don't have to add the slot attribute.
What are your thoughts?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#202 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAhHHOV_jD7xiNCiNiUDQC9gawZOHuE3ks5r13xEgaJpZM4NN2y_>
.
|
this isn't working for me.
|
@marlonbuendia Did you check on the pull request? (note that the changes are not yet integrated in the master branch).
|
@edwindj I did this: git clone https://github.com/sagalbot/vue-select.git result: sh-3.2# cd vue-select/
what is next? Should i replace node_modules/vue-select with this one? I tried to rename the original: node_modules/vue-select_old Its still not working. |
@sagalbot Hi did ever get to run it? How did you do implement it? im using webpack |
It is running for me in the development environment: |
@edwindj i still do not know how to make it run with templates. ill probably wait for the production update. for the mean time i am using vue-multiselect there template works perfectly with images. |
Great PR, I'm already using it! I was wondering, does it support multiple lines for the option template? Like: Picture NAME/username Edit: nevermind, my json response was lacking an information :) did it by separating the picture and all the multiline text from one another (with a div) |
@JustLey how did you do it? |
Any news about status of this PR and version 2.3.0? |
No news, Im using vue-multiselect
…On Tue, May 9, 2017 at 1:35 PM, Ecmel Ercan ***@***.***> wrote:
Any news about status of this PR and version 2.3.0?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#202 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AI-TqMWBOpGAchFsYAppNBB90_FadTzEks5r3_s2gaJpZM4NN2y_>
.
--
Marlon Buendia
|
@marlonbuendia My PR does not include an updated
(the first command installs all build tools, the second builds all files needed for vue-select). |
@ecmel - sorry for the delay, just started a new job and haven't had much spare time to get this release pushed out. Things have settled a bit now, hoping to get this out in the next few days. Thanks for your patience! |
@sagalbot great! ill probably use this instead of vue-multiselect |
pls merge will be awesome 💃 😄 |
This would be great 😄 |
+1 please |
It appears this modification simply wraps the call to Is anything further needed for this to merge? |
@edwindj Thanks for this great contribution. The code that generates this (
Any idea how can I control the button to be aligned with the rest of the option? |
Thx for your great implementation!
I have made the following addition so options and selected-options can be templated, which is I think the underlying request of issue #193.
The following example from "dev.html" show a list of countries:
The changes I have made to vue-select make to following possible (showing the flags of the countries):
(if you happen to have a better link to country flags, just change the urls...)
Best regards,
Edwin