mirror of
https://github.com/ansible/awx.git
synced 2026-01-19 13:41:28 -03:30
Fixes bug where extra blank option was being added to select input
This commit is contained in:
parent
1a619de91f
commit
334f571ad3
@ -377,6 +377,7 @@
|
||||
|
||||
.select2-results__option {
|
||||
color: @field-label !important;
|
||||
min-height: 33px;
|
||||
}
|
||||
|
||||
.select2-container--default .select2-results__option--highlighted[aria-selected] {
|
||||
|
||||
@ -6,9 +6,9 @@
|
||||
ng-model="state._value"
|
||||
ng-attr-tabindex="{{ tab || undefined }}"
|
||||
ng-disabled="state._disabled || form.disabled"
|
||||
ng-options="{{ state._exp }}"
|
||||
id="{{ state._formId }}_{{ state.id }}_dynamic_select">
|
||||
<option style="display:none"></option>
|
||||
<option value=""></option>
|
||||
<option ng-repeat="option in state._data" label="{{option}}" value="{{option}}">{{option}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<at-input-message></at-input-message>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user