Fixes: #3973
Fixes: 2fb55e1ab ("luci-base: ui.js: fixes for radio widget type of select element")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
81effc111227bc65cb974829f17a45515fbe9807)
else if (Array.isArray(this.options.sort))
keys = this.options.sort;
- if (this.options.widget == 'select') {
+ if (this.options.widget != 'radio' && this.options.widget != 'checkbox') {
frameEl.appendChild(E('select', {
'id': this.options.id ? 'widget.' + this.options.id : null,
'name': this.options.name,