-
Notifications
You must be signed in to change notification settings - Fork 86
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
Enable Parent Item Selection In Dropdown #4705
base: develop
Are you sure you want to change the base?
Conversation
@@ -80,6 +80,7 @@ export class EditorUsingManualSourceOrVocabulary extends React.PureComponent<IPr | |||
kind="synchronous" | |||
getOptions={() => options} | |||
values={selected} | |||
canSelectBranchWithChildren={config.canSelectBranchWithChildren} |
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.
keep capability to allow/disallow based on a tree node
canSelectBranchWithChildren?(branch: ITreeNode<unknown>): boolean;
optionTemplate?: React.ComponentType<{item: unknown}>; | ||
valueTemplate?: React.ComponentType<{item: unknown}>; | ||
multiple: boolean; | ||
} | ||
|
||
/** | ||
* @deprecated Use IDropdownConfigManualSource/IDropdownConfigVocabulary/IDropdownConfigRemoteSource |
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.
can it be removed instead of deprecating?
optionTemplate?: React.ComponentType<{item: unknown}>; | ||
valueTemplate?: React.ComponentType<{item: unknown}>; | ||
multiple: boolean; | ||
} | ||
|
||
/** | ||
* @deprecated Use IDropdownConfigManualSource/IDropdownConfigVocabulary/IDropdownConfigRemoteSource |
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.
Not sure if we need to deprecate it. Maybe it's enough to warn not to use this one if use case can be satisfied using other dropdown sources.
STT-63