Skip to content

Commit

Permalink
Merged in bugfix/SHIBUI-579 (pull request #114)
Browse files Browse the repository at this point in the history
SHIBUI-579 Fixed issues with checkbox

Approved-by: Shibui Jenkins <shibui.jenkins@gmail.com>
  • Loading branch information
rmathis committed Jul 12, 2018
2 parents 611be79 + fb38bde commit 354747b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/src/app/schema-form/widget/check/checkbox.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
[indeterminate]="control.value !== false && control.value !== true ? true :null"
type="checkbox"
[attr.disabled]="schema.readOnly"
id="{{ schema.id }}-control">
<input id="{{ schema.id }}-control" *ngIf="schema.readOnly" [attr.name]="name" type="hidden" [formControl]="control">
<label for="{{ schema.id }}-control" class="custom-control-label">
id="{{ name }}"
[disableValidation]="true">
<label for="{{ name }}" class="custom-control-label">
{{ schema.title }}
</label>
</div>
Expand Down

0 comments on commit 354747b

Please sign in to comment.