schema-components - v3.7.0
GitHub
npm
Storybook
Preparing search index...
core/types
resolveEditability
Function resolveEditability
resolveEditability
(
propertyMeta
:
SchemaMeta
|
undefined
,
componentMeta
:
SchemaMeta
|
undefined
,
rootMeta
:
SchemaMeta
|
undefined
,
)
:
Editability
Resolved editability state for a single field.
Priority (highest wins):
Property-level readOnly → presentation
Property-level writeOnly → input
Component-level readOnly → presentation
Component-level writeOnly → input
Schema root readOnly → presentation
Schema root writeOnly → input
Neither → editable
Parameters
propertyMeta
:
SchemaMeta
|
undefined
componentMeta
:
SchemaMeta
|
undefined
rootMeta
:
SchemaMeta
|
undefined
Returns
Editability
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
GitHub
npm
Storybook
schema-components - v3.7.0
Loading...
Resolved editability state for a single field.
Priority (highest wins):