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

TagBox - Fix custom item rendering after deleting equal value(T1197444) #26179

Merged
merged 5 commits into from
Dec 12, 2023
Merged

TagBox - Fix custom item rendering after deleting equal value(T1197444) #26179

merged 5 commits into from
Dec 12, 2023

Conversation

alexanderPolosatov
Copy link
Contributor

No description provided.

@alexanderPolosatov alexanderPolosatov self-assigned this Dec 7, 2023
@alexanderPolosatov alexanderPolosatov requested a review from a team December 7, 2023 08:23
@@ -1485,6 +1485,10 @@ const TagBox = SelectBox.inherit({
return existedItems.concat(newItems);
},

_isCustomItemSelected() {
Copy link
Contributor

@ksercs ksercs Dec 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's think a bit more how can we rework the actual algorithm to fix the issue.
Function with name _isCustomItemSelected should not return just acceptCustomValue. Moreover, as far as i see we already have the check for acceptCustomValue in the SelectBox's valueChangeHandler. It would be great if we research why we need this code in selectBox and prepare more intuitive solution.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix reworked

@alexanderPolosatov alexanderPolosatov merged commit 12f7941 into DevExpress:23_2 Dec 12, 2023
171 checks passed
@alexanderPolosatov alexanderPolosatov deleted the T1197444_23_2 branch December 12, 2023 11:45
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.

3 participants