-
[OPIK-7328] [FE] fix: keep picked value in metadata filter key autocomplete (#7603)
发布于
2026-07-24 11:14:54 +00:00 The metadata filter key field (AutocompleteCell) committed the value in two
places: on blur and when picking a dropdown item. Selecting an item ran
setDraft(item) + commit(item), then blurred the input, which synchronously
fired the blur handler while draft still held the previously typed text
(setDraft had not flushed). That blur re-committed the stale text over the
just-picked value, so the selection never stuck.Track a pickedRef flag so the blur triggered by a pick skips its commit,
leaving the picked value in place while preserving normal commit-on-blur when
the user clicks away without selecting.Implements OPIK-7328: Clicking value for metadata filter dropdown does not select the value
下载附件