[DE] Remove required option for dropdown list

This commit is contained in:
Julia Radzhabova 2021-05-20 18:18:29 +03:00
parent 34fafd5c1a
commit 294f3661f1

View file

@ -917,7 +917,7 @@ define([
var value = (checkboxOnly || radioboxOnly); var value = (checkboxOnly || radioboxOnly);
this.PlaceholderSettings.toggleClass('hidden', value); this.PlaceholderSettings.toggleClass('hidden', value);
this.CheckOnlySettings.toggleClass('hidden', !value); this.CheckOnlySettings.toggleClass('hidden', !value);
this.RequiredSettings.toggleClass('hidden', imageOnly); this.RequiredSettings.toggleClass('hidden', imageOnly || listOnly && (type == Asc.c_oAscContentControlSpecificType.DropDownList));
}, },
onSelectItem: function(listView, itemView, record) { onSelectItem: function(listView, itemView, record) {