WidgetsFormForm APIToggle APIForm Toggle methodsdisable()disable() disables a Toggle control on a page disable(): void; Example form.getItem("toggle").disable();