diff --git a/src/components/FieldSetWithStatus.tsx b/src/components/FieldSetWithStatus.tsx index 305ba493..1ccac213 100644 --- a/src/components/FieldSetWithStatus.tsx +++ b/src/components/FieldSetWithStatus.tsx @@ -1,11 +1,12 @@ 'use client'; -import { LegacyRef } from 'react'; +import { Ref } from 'react'; import { useFormStatus } from 'react-dom'; import Spinner from './Spinner'; import { clsx } from 'clsx/lite'; import { FieldSetType, AnnotatedTag } from '@/photo/form'; import TagInput from './TagInput'; +import { FiChevronDown } from 'react-icons/fi'; export default function FieldSetWithStatus({ id, @@ -44,7 +45,7 @@ export default function FieldSetWithStatus({ readOnly?: boolean capitalize?: boolean type?: FieldSetType - inputRef?: LegacyRef + inputRef?: Ref accessory?: React.ReactNode hideLabel?: boolean }) { @@ -89,28 +90,37 @@ export default function FieldSetWithStatus({ }
{selectOptions - ? + ?
+ +
+ +
+
: tagOptions ?