Disable input when IS (NOT) NULL selected in filters (#5766)

This commit is contained in:
Beto Dealmeida 2018-08-28 17:05:44 -07:00 committed by GitHub
parent 6c6ea3730b
commit 48d220c03a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -283,6 +283,7 @@ export default class AdhocFilterEditPopoverSimpleTabContent extends React.Compon
value={adhocFilter.comparator || ''}
className="form-control input-sm"
placeholder={t('Filter value')}
disabled={adhocFilter.operator === 'IS NOT NULL' || adhocFilter.operator === 'IS NULL'}
/>
}
</FormGroup>