TaxonomyPicker control does not show an error message for an invalid/unresolved input #728
Closed
1 of 3 tasks
Labels
status:fixed-next-drop
Issue will be fixed in upcoming release.
type:enhancement
New feature or enhancement of existing capability
Milestone
Category
Version
Version of the library: [2.1.0]
Expected / Desired Behavior
I recently came across a scenario, where it would be beneficial to indicate some sort of an error beneath the control whenever user inputs any invalid text (which is not able to resolve into a valid term) inside taxonomy picker control.
The same kind of behavior is also visible with OOTB Page Details action (that opens a panel on right side).
Implementation Suggestion: It can be achieved inside
<TaxonomyPicker />
control by triggering onBlur() and onInputChange() handlers that exists in TermBasePicker base component. All necessary validations can be done inside these handlers and an error message can be shown accordingly.Observed Behavior
At the moment, such invalid/unresolved input is just ignored. And hence, it goes unnoticed from end-users point of view, while submitting the form.
Thanks!
The text was updated successfully, but these errors were encountered: