Merge branch 'main' into static

This commit is contained in:
Sam Becker 2024-03-12 09:02:30 -05:00
commit 132e9c8b0a
2 changed files with 4 additions and 0 deletions

View File

@ -93,6 +93,7 @@ export default function FieldSetWithStatus({
</select>
: tagOptions
? <TagInput
id={id}
name={id}
value={value}
options={tagOptions}

View File

@ -10,6 +10,7 @@ const ARIA_ID_TAG_CONTROL = 'tag-control';
const ARIA_ID_TAG_OPTIONS = 'tag-options';
export default function TagInput({
id,
name,
value = '',
options = [],
@ -17,6 +18,7 @@ export default function TagInput({
className,
readOnly,
}: {
id?: string
name: string
value?: string
options?: AnnotatedTag[]
@ -249,6 +251,7 @@ export default function TagInput({
{option}
</span>)}
<input
id={id}
ref={inputRef}
type="text"
className={clsx(