Port some stuff from sync PR

This commit is contained in:
Gregory Schier
2024-12-05 11:27:49 -08:00
parent 2b61257e50
commit a79578142d
5 changed files with 57 additions and 51 deletions

View File

@@ -58,7 +58,6 @@ export const Input = forwardRef<EditorView | undefined, InputProps>(function Inp
labelClassName,
labelPosition = 'top',
leftSlot,
name,
onBlur,
onChange,
onFocus,
@@ -91,7 +90,7 @@ export const Input = forwardRef<EditorView | undefined, InputProps>(function Inp
onBlur?.();
}, [onBlur]);
const id = `input-${name}`;
const id = `input-${label}`;
const editorClassName = classNames(
className,
'!bg-transparent min-w-0 h-auto w-full focus:outline-none placeholder:text-placeholder',