Skip to content

Commit

Permalink
Disable input when IS (NOT) NULL selected in filters (apache#5766)
Browse files Browse the repository at this point in the history
(cherry picked from commit 48d220c)
  • Loading branch information
betodealmeida authored and mistercrunch committed Sep 14, 2018
1 parent 24331c5 commit 4ef2ad8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 4ef2ad8

Please sign in to comment.