mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
feat: add inputMaxLength property to Modal component for better input control
This commit is contained in:
@@ -20,6 +20,7 @@ type ModalState = {
|
||||
error: string;
|
||||
placeholder: string;
|
||||
inputType: string;
|
||||
maxInputLength?: number;
|
||||
items: ModalItem[];
|
||||
initialValue: unknown;
|
||||
totpActive: boolean | null;
|
||||
@@ -42,6 +43,7 @@ const initialState: ModalState = {
|
||||
error: '',
|
||||
placeholder: '',
|
||||
inputType: 'text',
|
||||
maxInputLength: undefined,
|
||||
items: [],
|
||||
initialValue: null,
|
||||
totpActive: null,
|
||||
|
||||
Reference in New Issue
Block a user