mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
select js error
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
<select data-name="{{name}}" class="form-control main-element">
|
||||
<select
|
||||
data-name="{{name}}"
|
||||
class="form-control main-element {{#if nativeSelect}} native-select {{/if}}"
|
||||
>
|
||||
{{options
|
||||
params.options value
|
||||
scope=scope
|
||||
|
||||
@@ -155,6 +155,10 @@ class EnumFieldView extends BaseFieldView {
|
||||
|
||||
}
|
||||
|
||||
if (this.isEditMode()) {
|
||||
data.nativeSelect = this.nativeSelect;
|
||||
}
|
||||
|
||||
// noinspection JSValidateTypes
|
||||
return data;
|
||||
}
|
||||
|
||||
@@ -510,7 +510,7 @@ input[type="radio"].form-radio {
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
select.form-control {
|
||||
select.form-control.native-select {
|
||||
&, &::picker(select) {
|
||||
appearance: base-select;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user