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 can not set datasource and bind-Value at the same time #1719

Closed
rq204 opened this issue Jul 8, 2021 · 2 comments · Fixed by #1720 or #1906
Closed

Select can not set datasource and bind-Value at the same time #1719

rq204 opened this issue Jul 8, 2021 · 2 comments · Fixed by #1720 or #1906

Comments

@rq204
Copy link

rq204 commented Jul 8, 2021

Describe the bug

when I change Select DataSource then I change bind-Value,the bind-Value can't work。

Steps to reproduce (please include code)

Index.razor.txt

@esailes
Copy link

esailes commented Jul 8, 2021

add await Task.Yield();

await Task.Yield(); _selectedValue = 6;

#1536

@anranruye
Copy link
Member

image

Should not be _selectedValue=5. It is expected to get no item selected when set value to 5 because this item is disabled. However, here is indeed an issue/bug. To reproduce this issue, use other values (eg 6) instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants