From 790685b93cfaad50e8abc19206df2bfd0efdcac5 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 21 May 2021 15:41:00 +0300 Subject: [PATCH] [DE] Add required option for all forms --- .../main/app/template/FormSettings.template | 9 +++++++-- apps/documenteditor/main/app/view/FormSettings.js | 2 -- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/apps/documenteditor/main/app/template/FormSettings.template b/apps/documenteditor/main/app/template/FormSettings.template index 04fc0b218..771624f7e 100644 --- a/apps/documenteditor/main/app/template/FormSettings.template +++ b/apps/documenteditor/main/app/template/FormSettings.template @@ -94,8 +94,13 @@ - - + + + + diff --git a/apps/documenteditor/main/app/view/FormSettings.js b/apps/documenteditor/main/app/view/FormSettings.js index 8fd2b0f35..177dc9ffb 100644 --- a/apps/documenteditor/main/app/view/FormSettings.js +++ b/apps/documenteditor/main/app/view/FormSettings.js @@ -98,7 +98,6 @@ define([ this.ListOnlySettings = el.find('.form-list'); this.ImageOnlySettings = el.find('.form-image'); this.ConnectedSettings = el.find('.form-connected'); - this.RequiredSettings = el.find('.required'); }, createDelayedElements: function() { @@ -918,7 +917,6 @@ define([ var value = (checkboxOnly || radioboxOnly); this.PlaceholderSettings.toggleClass('hidden', value); this.CheckOnlySettings.toggleClass('hidden', !value); - this.RequiredSettings.toggleClass('hidden', imageOnly || listOnly && (type == Asc.c_oAscContentControlSpecificType.DropDownList)); }, onSelectItem: function(listView, itemView, record) {
+
+
+