Rate this page:
A field for users to enter multiple lines of text.
The PortalTextArea
component should be used only to the Request Create Property Panel module.
Unlike a TextArea
, the PortalTextArea
component does not maintain its own state. Instead,
you can retrieve the values using onBlur
.
1 2import ForgeUI, { PortalTextArea } from "@forge/ui";
Name | Type | Required | Description |
---|---|---|---|
isMonospaced | boolean | Whether or not to style the text as monospaced . | |
placeholder | string | The placeholder helper text. | |
spellCheck | boolean | The HTML attribute that determines whether the text should be checked for spelling errors. Defaults to false. | |
Value | string | The text value of the field. |
The example shows PortalTextArea
.
1 2<PortalTextArea placeholder="placeholder" onBlur={(value) => { console.log(value); }} ></PortalTextArea>
Rate this page: