mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-12-01 05:24:47 +00:00
fix(web/input): remove unused isReadOnly property
This commit is contained in:
1 parent
a6a0e4905f
commit
d4dc68f21e
1 file changed
-1
@@ -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