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 19, 2018
1 parent dd14197 commit deb18cc
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 deb18cc

Please sign in to comment.