Poll

Add and configure the Poll component in a Docmino document.

When to use

Use Poll to collect readers' preferences or opinions when there is no scored correct answer.

Props

Name⇅
Type⇅
Description⇅
id
string
A stable identifier used to reference the component.
prompt
string
The question or instruction shown to the reader.
options
expression
The choices available to the reader.
multiple
boolean
Allows more than one option to be selected.
required
boolean
Requires a response before the document can be submitted.
visibleWhen
expression
A condition that controls when the component is visible.
requiredWhen
expression
A condition that makes the component required when it matches.
disabledWhen
expression
A condition that disables the component when it matches.
triggers
expression
Actions that run after the component interaction completes.

Example

Poll

Which frontend framework do you use most?
<Poll prompt="Which frontend framework do you use most?" options={["React", "Vue", "Svelte", "Angular"]} />