control.setDisabled (Client API reference)
Sets whether the control is disabled.
Control types supported
All except kbsearch control type
Syntax
formContext.getControl(arg).setDisabled(bool);
Parameter
Name | Type | Required | Description |
---|---|---|---|
bool |
Boolean | Yes | Specify true or false to disable or enable the control. |
Note
If a control bound to a Business Required column is set to be disabled, the form will no longer require it to have a value before saving. See Column requirement level for more information.
Related articles
Кері байланыс
https://aka.ms/ContentUserFeedback.
Жақында қолжетімді болады: 2024 жыл бойы біз GitHub Issues жүйесін мазмұнға арналған кері байланыс механизмі ретінде біртіндеп қолданыстан шығарамыз және оны жаңа кері байланыс жүйесімен ауыстырамыз. Қосымша ақпаратты мұнда қараңыз:Жіберу және пікірді көру