Skip to content

Commit

Permalink
SHIBUI-918 Implemented fix for disabled select boxes in safari
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Oct 22, 2018
1 parent aec268d commit 6b177d8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ui/src/app/schema-form/widget/select/select.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
[formControl]="control"
[attr.name]="name"
class="form-control"
[attr.aria-label]="schema.title">
<option disabled selected>
[attr.aria-label]="schema.title"
[ngClass]="{'text-muted': !this.formProperty.value}">
<option selected value="">
<translate-i18n *ngIf="schema.placeholder" [key]="schema.placeholder">{{ schema.placeholder }}</translate-i18n>
<translate-i18n *ngIf="!schema.placeholder" [key]="schema.title">{{ schema.title }}</translate-i18n>
</option>
Expand Down

0 comments on commit 6b177d8

Please sign in to comment.