mirror of
https://github.com/ONLYOFFICE/sdkjs-forms.git
synced 2026-03-31 10:23:35 +08:00
For bug #71640
Add subforms to a complex form with the role name of the complex form
This commit is contained in:
3
api.js
3
api.js
@ -673,6 +673,9 @@ window["AscOForm"] = window.AscOForm = AscOForm;
|
||||
|
||||
form.SetFormPr(formPr.Copy());
|
||||
|
||||
if (!form.IsMainForm() && form.GetMainForm().GetFormRole() !== formPr.GetRole())
|
||||
form.SetFormRole(form.GetMainForm().GetFormRole());
|
||||
|
||||
let docPartId = form.GetPlaceholder();
|
||||
let glossary = logicDocument.GetGlossaryDocument();
|
||||
if ((form.IsTextForm()
|
||||
|
||||
Reference in New Issue
Block a user