mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
Merge pull request #1003 from Alfresco/dev-denys-947
fix dropdown label accessibility
This commit is contained in:
commit
7c1b693cc3
@ -2,6 +2,7 @@
|
||||
[class.dropdown-widget__invalid]="!field.isValid">
|
||||
<label class="dropdown-widget__label" [attr.for]="field.id">{{field.name}}</label>
|
||||
<select class="dropdown-widget__select"
|
||||
[attr.id]="field.id"
|
||||
[(ngModel)]="field.value"
|
||||
(ngModelChange)="checkVisibility(field)">
|
||||
<option *ngFor="let opt of field.options" [value]="opt.id">{{opt.name}}</option>
|
||||
|
Loading…
x
Reference in New Issue
Block a user