Skip to content

Commit

Permalink
refactor(form): allow min, max and step number field properties…
Browse files Browse the repository at this point in the history
… to have string values
  • Loading branch information
No-Cash-7970 committed Dec 27, 2023
1 parent 6351f8e commit 70a6cbc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/[lang]/components/form/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ export interface NumberFieldProps extends InputProps, FieldProps, SideLabelProp
value?: number | string;

/** Minimum value allowed */
min?: number | null;
min?: number | string | null;
/** Maximum value allowed */
max?: number | null;
max?: number | string | null;
/** Specifies the granularity that the value must adhere to */
step?: number | 'any' | null;
step?: number | string | null;
/**
* Type of auto-complete. Set to 'off' to turn off auto-complete.
*
Expand Down

0 comments on commit 70a6cbc

Please sign in to comment.