Depanding on a field value on the main form I want to disable the ADD and Delete function of the subform.
(to hide or disable the checkboxes in the subform and remove the new line to add record)
Was trying for example with
nuSetProperty('data-nu-add',"0");
nuSetProperty('data-nu-delete',"0");
nuHide('nuSubformCheckbox');
but did not succeed

Do you have idea how can I do it?
------------------
Main form:
data-nu-table="parts"
data-nu-form-id="5d5d89dc6a47f23"
Subform:
id="sub_FF_parts"
data-nu-object-id="5d5d8edbbc4c72b"
------------------