instance method Form#disable
Form#disable() → Element
Disables the form as a whole. Form controls will be visible but uneditable.
Disabling the form is done by iterating over form elements and calling
Form.Element.disable
on them.
Note
Keep in mind that disabled elements are skipped by serialization methods! You cannot serialize a disabled form.
This method can be called either as an instance method or as a generic method. If calling as a generic, pass the instance in as the first argument.