Skip to content

Commit

Permalink
ADDON-35152:Updated selected property
Browse files Browse the repository at this point in the history
  • Loading branch information
dkhatri-crest committed Mar 25, 2021
1 parent ed98cbc commit c758dca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class CheckBoxComponent extends Component {
value={this.props.field}
onClick={this.handleChange}
disabled={this.props.disabled}
selected={!!this.props.value}
selected={['1', 1, true].includes(this.props.value)}
appearance="checkbox"
/>
);
Expand Down

0 comments on commit c758dca

Please sign in to comment.