API reference: @salmonui/data-grid
DataGridEditorInputPropsinterface
import type { DataGridEditorInputProps } from '@salmonui/data-grid';interface DataGridEditorInputProps {
id: string;
'aria-label': string;
'aria-invalid': boolean | undefined;
'aria-describedby': string | undefined;
'aria-required': boolean | undefined;
autoFocus: boolean;
disabled?: boolean | undefined;
}
Attributes the editor element must carry (ids, ARIA wiring, keyboard). Spread onto the focusable input.
| Name | Signature | Description |
|---|---|---|
id | id: string; | |
aria-label | 'aria-label': string; | |
aria-invalid | 'aria-invalid': boolean | undefined; | |
aria-describedby | 'aria-describedby': string | undefined; | |
aria-required | 'aria-required': boolean | undefined; | |
autoFocus | autoFocus: boolean; | The editor that takes DOM focus when it mounts. |
disabledoptional | disabled?: boolean | undefined; | The always-visible add row while another row edits. |