@cmds/long-text-field
v0.8.0
Published
Used for entering multiple lines of text.
Downloads
26
Readme
LongTextField
Used for entering multiple lines of text.
Prop Types
| Property | Type | Required? | Description |
|:---|:---|:---:|:---|
| id | String | ✓ | Unique id for the instance of this field |
| contextId | Context | ✓ | The appearance will change depending on context in which the field is displayed. Valid options include: recordDetail
or recordGridRow
or recordGalleryCard
or recordListItem
|
| roleId | Role | ✓ | The behaviour changes based on the role. Valid options include editor
or readOnly
|
| longText | String | | Contents to be displayed / edited |
| onChange | Function | | Callback invoked whenever the long text changes. : ({id: string, longText: boolean}): void
|
More information
This component is designed and developed as part of Cosmos Design System.