Skip to content
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

Select dynamic #106

Closed
1 task
SchroterQuentin opened this issue Aug 7, 2018 · 2 comments
Closed
1 task

Select dynamic #106

SchroterQuentin opened this issue Aug 7, 2018 · 2 comments

Comments

@SchroterQuentin
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.0.2

Environment

Windows 10, firefox and chrome, vue 2.5.15, vue-antd-ui 1.0.1

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Set the options of the select after it was rendered made him in a state where he can't see new options

What is expected?

It's expected than when you update your options in the data, they are updating on the select

What is actually happening?

The select does nothing like on the demo


I needed to show a modal with inside a select with options. I load the data for the options of the select in the same time that I show the modal, without waiting to get the response for the server to display the modal.

@tangjinzhou
Copy link
Member

Now you can use v-model like this.

The next version will solve this usage scenario without updating the problem.

@lock
Copy link

lock bot commented Aug 11, 2019

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants