mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 15:36:02 +01:00
fix(web/input): ensure number type input is max length
This commit is contained in:
@@ -34,6 +34,7 @@ const NumberField: React.FC<Props> = (props) => {
|
|||||||
min={props.row.min}
|
min={props.row.min}
|
||||||
max={props.row.max}
|
max={props.row.max}
|
||||||
isDisabled={props.row.disabled}
|
isDisabled={props.row.disabled}
|
||||||
|
w="100%"
|
||||||
>
|
>
|
||||||
{props.row.icon && (
|
{props.row.icon && (
|
||||||
<InputLeftElement pointerEvents="none" children={<FontAwesomeIcon icon={props.row.icon} fixedWidth />} />
|
<InputLeftElement pointerEvents="none" children={<FontAwesomeIcon icon={props.row.icon} fixedWidth />} />
|
||||||
|
|||||||
Reference in New Issue
Block a user