mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
Disable input when IS (NOT) NULL selected in filters (#5766)
This commit is contained in:
parent
6c6ea3730b
commit
48d220c03a
@ -283,6 +283,7 @@ export default class AdhocFilterEditPopoverSimpleTabContent extends React.Compon
|
|||||||
value={adhocFilter.comparator || ''}
|
value={adhocFilter.comparator || ''}
|
||||||
className="form-control input-sm"
|
className="form-control input-sm"
|
||||||
placeholder={t('Filter value')}
|
placeholder={t('Filter value')}
|
||||||
|
disabled={adhocFilter.operator === 'IS NOT NULL' || adhocFilter.operator === 'IS NULL'}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
|
Loading…
Reference in New Issue
Block a user