Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Commit

Permalink
#762 Visibility fix
Browse files Browse the repository at this point in the history
  • Loading branch information
damianprzygodzki committed May 24, 2017
1 parent 2ee00f6 commit 6a38b3b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/components/widget/Checkbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Checkbox extends Component {
widgetData, disabled, fullScreen, tabIndex, handlePatch,
widgetField, id, filterWidget
} = this.props;
console.log(widgetData[0].value)

return (
<div>
<label
Expand Down Expand Up @@ -43,16 +43,17 @@ class Checkbox extends Component {
)}
tabIndex="-1"
/>
<div
<div
className={
'input-checkbox-tick ' +
((widgetData[0].value === false && filterWidget) ?
'input-checkbox-tick ' +
((widgetData[0].value === false && filterWidget) ?
'input-state-false ' : '')
}
/>
</label>
{(filterWidget && !disabled && !widgetData[0].readonly &&
widgetData[0].value !== '') ?
(widgetData[0].value != null &&
widgetData[0].value !== '')) ?
<small
className="input-side"
onClick={this.handleClear}
Expand Down

0 comments on commit 6a38b3b

Please sign in to comment.