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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(module:cascader): OnChange called twice #1151

Merged

Conversation

anddrzejb
Copy link
Member

馃 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • Bundle size optimization
  • Performance optimization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

馃敆 Related issue link

#1149

馃挕 Background and solution

OnChange eventcallback was called 2 times. Moreover, OnChange was called regardless if value was changed (if value was not changed, then OnChange was called once).

馃摑 Changelog

Language Changelog
馃嚭馃嚫 English
馃嚚馃嚦 Chinese

鈽戯笍 Self Check before Merge

鈿狅笍 Please check all items below before review. 鈿狅笍

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • Changelog is provided or not needed

@ElderJames ElderJames merged commit 9e735e2 into ant-design-blazor:master Feb 22, 2021
@ElderJames ElderJames linked an issue Feb 22, 2021 that may be closed by this pull request
@anddrzejb anddrzejb deleted the cascaderDuplicatedOnChangeCall branch March 3, 2021 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cascader triggers OnChange Repeated execution
2 participants