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

Collection: publish onSelectionChanging event for AutoComplete, List, Lookup, SelectBox, TabPanel, Tabs, TagBox #27954

Merged

Conversation

EugeniyKiyashko
Copy link
Contributor

@EugeniyKiyashko EugeniyKiyashko commented Aug 26, 2024

…st, SelectBox, AutoComplete, TagBox, SelectBox
@EugeniyKiyashko EugeniyKiyashko self-assigned this Aug 26, 2024
@EugeniyKiyashko EugeniyKiyashko requested review from a team as code owners August 26, 2024 20:31
@EugeniyKiyashko EugeniyKiyashko changed the title Collection: publish onSelectionChanging method for Tabs, TabPanel, List, SelectBox, AutoComplete, TagBox, SelectBox Collection: publish onSelectionChanging method for Tabs, TabPanel, List, SelectBox, AutoComplete, Lookup, TagBox Aug 26, 2024
@EugeniyKiyashko EugeniyKiyashko changed the title Collection: publish onSelectionChanging method for Tabs, TabPanel, List, SelectBox, AutoComplete, Lookup, TagBox Collection: publish onSelectionChanging event for Tabs, TabPanel, List, SelectBox, AutoComplete, Lookup, TagBox Aug 26, 2024
packages/devextreme/js/ui/autocomplete.d.ts Outdated Show resolved Hide resolved
* @docid _ui_autocomplete_SelectionChangingEvent.cancel
* @type Boolean|Promise<Boolean>
*/
cancel: boolean | PromiseLike<boolean>;
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe it should be optional

Copy link
Contributor Author

Choose a reason for hiding this comment

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

* @docid _ui_autocomplete_SelectionChangingEvent.cancel
* @type Boolean|Promise<Boolean>
*/
cancel: boolean | PromiseLike<boolean>;
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't we point that default value is false?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

packages/devextreme/js/ui/gallery.js Outdated Show resolved Hide resolved
packages/devextreme/js/ui/toolbar.d.ts Outdated Show resolved Hide resolved
packages/devextreme/js/ui/toolbar.js Outdated Show resolved Hide resolved
@EugeniyKiyashko EugeniyKiyashko changed the title Collection: publish onSelectionChanging event for Tabs, TabPanel, List, SelectBox, AutoComplete, Lookup, TagBox Collection: publish onSelectionChanging event for AutoComplete, List, Lookup, SelectBox, TabPanel, Tabs, TagBox Aug 28, 2024
@EugeniyKiyashko EugeniyKiyashko requested a review from ksercs August 30, 2024 09:24
mpreyskurantov added a commit to mpreyskurantov/devextreme-documentation that referenced this pull request Aug 30, 2024
mpreyskurantov
mpreyskurantov previously approved these changes Aug 30, 2024
@EugeniyKiyashko EugeniyKiyashko merged commit f9b18e3 into DevExpress:24_2 Aug 30, 2024
272 checks passed
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.

4 participants