Skip to content

MultipleTextComponent.getValue method

MultipleTextComponent › getValue

Gets the value of the component: one entry per line of the text area.

Blank and whitespace-only lines are skipped, so an empty text area reads as [] rather than ['']. Every other line is kept exactly as typed.

Signature:

getValue(): readonly string[]

Returns: readonly string[] — The value of the component.