Vue-select: v-model not updating DOM when using `selected-option` slot

Created on 6 Jun 2019  路  11Comments  路  Source: sagalbot/vue-select

Describe the bug
When using selected-option slot, the DOM is not updated with what is selected AFTER the initial select.

To Reproduce
https://codepen.io/oze4/pen/LoKZGy

Most helpful comment

I am having this same issue.

All 11 comments

I am having this same issue.

I am having this same issue.

Did anyone come up with a workaround for this?

Did anyone come up with a workaround for this?

Personally, I have not.

I posted this without reading the pinned issue first. I hope @sagalbot is recovering well!
For now I have removed the selected-option slot and reverted to using the label prop.

Oh damn I didn't see that. Hope he is ok!

Thanks @seanzi86 @oze4! I'm ramping back up now and will dig into this one.


Related: #977

@sagalbot glad to see you're doing better :smile:

Thanks @oze4, me too! Slow and steady getting back into it.

Current workaround is to set the label prop while using the selected-option slot: https://codepen.io/noelsison2/pen/mddZRyd

This one should be fixed by #1012.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jluterek picture jluterek  路  3Comments

manjunath-coachthem picture manjunath-coachthem  路  3Comments

fabianmieller picture fabianmieller  路  3Comments

FrancescoMussi picture FrancescoMussi  路  3Comments

ducdev picture ducdev  路  3Comments