From 22ced94d9ce4fec5e3858de2874f83727716cfa6 Mon Sep 17 00:00:00 2001 From: Max Patiiuk Date: Sun, 21 Jul 2024 11:46:28 -0700 Subject: [PATCH] fix(FieldFormatters): resolve minor UX issues Fixes https://github.com/specify/specify7/pull/5075#pullrequestreview-2189080837 --- .../lib/components/FieldFormatters/Parts.tsx | 4 ++-- .../frontend/js_src/lib/localization/resources.ts | 14 +------------- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/specifyweb/frontend/js_src/lib/components/FieldFormatters/Parts.tsx b/specifyweb/frontend/js_src/lib/components/FieldFormatters/Parts.tsx index 86c0558236e..4a6661f8e8e 100644 --- a/specifyweb/frontend/js_src/lib/components/FieldFormatters/Parts.tsx +++ b/specifyweb/frontend/js_src/lib/components/FieldFormatters/Parts.tsx @@ -159,7 +159,7 @@ function Part({ aria-label={commonText.size()} disabled={enforcePlaceholderSize} isReadOnly={isReadOnly} - min={0} + min={1} required value={part.size} onValueChange={(size): void => @@ -173,7 +173,7 @@ function Part({