educoreapp2 1.0.92 → 1.0.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -192,19 +192,21 @@ class BaseInputString extends _react.Component {
|
|
192
192
|
}
|
193
193
|
renderSelect() {
|
194
194
|
let className3 = "form-select " + this.states.className2 + "";
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
195
|
+
return /*#__PURE__*/_react.default.createElement("select", {
|
196
|
+
name: this.states.name,
|
197
|
+
id: this.states.id,
|
198
|
+
className: className3,
|
199
|
+
size: "1",
|
200
|
+
"aria-label": "size 3 select example"
|
201
|
+
}, Object.keys(this.list).map(function (key) {
|
202
|
+
let el = this.list[key];
|
203
|
+
let vname = el.name;
|
204
|
+
let id = el.id;
|
205
|
+
return /*#__PURE__*/_react.default.createElement("option", {
|
206
|
+
key: id,
|
207
|
+
value: id
|
208
|
+
}, vname);
|
209
|
+
}.bind(this)));
|
208
210
|
}
|
209
211
|
loadData() {
|
210
212
|
//console.log("loadData",this.props);
|