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

feat(comp:select): set first option active on search and options change #1096

Merged

Conversation

sallerli1
Copy link
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit message follows our guidelines
  • Tests for the changes have been added/updated or not needed
  • Docs and demo have been added/updated or not needed

What is the current behavior?

select组件的datasource改变以及通过搜索过滤选项之后,active状态的选项没有改变

What is the new behavior?

select组件的datasource改变以及通过搜索过滤选项之后,自动将当前active状态的选项改变为activeValue指向的选项,或者第一个选项(当的activeValue不存在时)

Other information

@idux-bot
Copy link

idux-bot bot commented Aug 30, 2022

This preview will be available after the AzureCI is passed.

@codecov
Copy link

codecov bot commented Aug 30, 2022

Codecov Report

Merging #1096 (ec664bf) into main (06c02b6) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1096   +/-   ##
=======================================
  Coverage   96.95%   96.95%           
=======================================
  Files         321      321           
  Lines       30585    30585           
  Branches     2809     2809           
=======================================
  Hits        29653    29653           
  Misses        932      932           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@danranVm danranVm merged commit 5aa2d82 into IDuxFE:main Sep 1, 2022
@sallerli1 sallerli1 deleted the fix-select-searchinput-active-saller branch February 20, 2023 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants