mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-19 07:56:02 +01:00
fix(web/input): remove unused isReadOnly property
This commit is contained in:
@@ -26,7 +26,6 @@ const SelectField: React.FC<Props> = (props) => {
|
|||||||
onChange={(e: React.ChangeEvent<HTMLSelectElement>) => props.handleChange(e.target.value, props.index)}
|
onChange={(e: React.ChangeEvent<HTMLSelectElement>) => props.handleChange(e.target.value, props.index)}
|
||||||
defaultValue={props.row.default || ''}
|
defaultValue={props.row.default || ''}
|
||||||
isDisabled={props.row.disabled}
|
isDisabled={props.row.disabled}
|
||||||
isReadOnly={props.row.readonly}
|
|
||||||
>
|
>
|
||||||
{/* Hacky workaround for selectable placeholder issue */}
|
{/* Hacky workaround for selectable placeholder issue */}
|
||||||
{!props.row.default && (
|
{!props.row.default && (
|
||||||
|
|||||||
Reference in New Issue
Block a user