mirror of
https://github.com/ONLYOFFICE/sdkjs-forms.git
synced 2026-03-31 10:23:35 +08:00
[oform] Add method to set all roles as not filled
This commit is contained in:
@ -614,6 +614,13 @@
|
||||
|
||||
role.setFilled(isFilled);
|
||||
};
|
||||
OForm.prototype.setAllRolesNotFilled = function()
|
||||
{
|
||||
for (let roleIndex = 0, roleCount = this.Roles.length; roleIndex < roleCount; ++roleIndex)
|
||||
{
|
||||
this.Roles[roleIndex].setFilled(false);
|
||||
}
|
||||
};
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Private area
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user