mirror of
https://github.com/ansible/awx.git
synced 2026-05-17 14:27:42 -02:30
Fixes bug where extra blank option was being added to select input
This commit is contained in:
@@ -377,6 +377,7 @@
|
|||||||
|
|
||||||
.select2-results__option {
|
.select2-results__option {
|
||||||
color: @field-label !important;
|
color: @field-label !important;
|
||||||
|
min-height: 33px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.select2-container--default .select2-results__option--highlighted[aria-selected] {
|
.select2-container--default .select2-results__option--highlighted[aria-selected] {
|
||||||
|
|||||||
@@ -6,9 +6,9 @@
|
|||||||
ng-model="state._value"
|
ng-model="state._value"
|
||||||
ng-attr-tabindex="{{ tab || undefined }}"
|
ng-attr-tabindex="{{ tab || undefined }}"
|
||||||
ng-disabled="state._disabled || form.disabled"
|
ng-disabled="state._disabled || form.disabled"
|
||||||
ng-options="{{ state._exp }}"
|
|
||||||
id="{{ state._formId }}_{{ state.id }}_dynamic_select">
|
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>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<at-input-message></at-input-message>
|
<at-input-message></at-input-message>
|
||||||
|
|||||||
Reference in New Issue
Block a user