feat: searchable unit picker in the work form

Units dictionary has around a hundred entries; typing now filters the
list and Enter picks the first match. Only dictionary values can be
chosen, as before. Generic SearchableSelect lives in shared until the
ui-kit gets one.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Тимур Городецкий
2026-10-19 10:07:07 +05:00
parent 7ca71c6b6c
commit cb810972c4
8 changed files with 258 additions and 8 deletions
+4 -1
View File
@@ -45,7 +45,10 @@ export const WORKS_TEXTS = {
add: 'Добавить',
save: 'Сохранить',
saving: 'Сохранение...',
saveError: 'Ошибка при сохранении. Проверьте права доступа к Dataverse.'
saveError: 'Ошибка при сохранении. Проверьте права доступа к Dataverse.',
dateRangeError: 'Дата окончания не может быть раньше даты начала',
unitSearch: 'Начните вводить ед. изм.',
unitNotFound: 'Ничего не найдено'
},
confirmDelete: {
title: 'Подтвердите удаление',