Skip to content

Commit

Permalink
fix(FieldFormatters): set max field size at 9999
Browse files Browse the repository at this point in the history
  • Loading branch information
maxpatiiuk committed Dec 14, 2024
1 parent 97282ab commit 31261ce
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ function Part({
aria-label={commonText.size()}
disabled={enforcePlaceholderSize}
isReadOnly={isReadOnly}
max={maxSize}
min={1}
required
value={part.size}
Expand Down Expand Up @@ -226,6 +227,8 @@ function Part({
);
}

const maxSize = 9999;

function RegexField({
value,
onChange: handleChange,
Expand Down

0 comments on commit 31261ce

Please sign in to comment.