Skip to content

Commit

Permalink
Merged in bugfix/SHIBUI-918 (pull request #222)
Browse files Browse the repository at this point in the history
SHIBUI-918 Implemented fix for disabled select boxes in safari

Approved-by: Ryan Mathis <rmathis@unicon.net>
  • Loading branch information
rmathis committed Oct 22, 2018
2 parents aec268d + 6b177d8 commit d7a9331
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 d7a9331

Please sign in to comment.