-
Notifications
You must be signed in to change notification settings - Fork 600
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
Collection: publish onSelectionChanging event for AutoComplete, List, Lookup, SelectBox, TabPanel, Tabs, TagBox #27954
Conversation
…st, SelectBox, AutoComplete, TagBox, SelectBox
* @docid _ui_autocomplete_SelectionChangingEvent.cancel | ||
* @type Boolean|Promise<Boolean> | ||
*/ | ||
cancel: boolean | PromiseLike<boolean>; |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This argument is not optional because it's presented every time in the onSelectionChanging argument:
https://github.com/EugeniyKiyashko/DevExtreme/blob/24_2_onSelectionChanging_API/packages/devextreme/js/__internal/ui/collection/m_collection_widget.edit.ts#L464-L465
* @docid _ui_autocomplete_SelectionChangingEvent.cancel | ||
* @type Boolean|Promise<Boolean> | ||
*/ | ||
cancel: boolean | PromiseLike<boolean>; |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it doesn't matter because it will be presented as a table https://js.devexpress.com/jQuery/Documentation/ApiReference/UI_Components/dxPopup/Configuration/#onShowing
Docs: DevExpress/devextreme-documentation#6586