Skip to content

Commit c76e21b

Browse files
authored
ORV2-4806 - FE: Update: Limit highway sequence input to 3 characters (#2130)
Co-authored-by: GlenAOT <160973940+GlenAOT@users.noreply.github.com>
1 parent 55759f3 commit c76e21b

File tree

1 file changed

+3
-0
lines changed
  • frontend/src/features/permits/pages/Application/components/form/TripDetailsSection/components

1 file changed

+3
-0
lines changed

frontend/src/features/permits/pages/Application/components/form/TripDetailsSection/components/HighwayNumberInput.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ export const HighwayNumberInput = ({
2727
}}
2828
value={highwayNumber}
2929
onChange={(e) => onHighwayInputChange(e.target.value, rowIndex, colIndex)}
30+
inputProps={{
31+
maxLength: 3,
32+
}}
3033
/>
3134
);
3235
};

0 commit comments

Comments
 (0)