Question Fill

Add and configure the Question Fill component in a Docmino document.

When to use

Use Question Fill for sentences or passages with one or more missing answers.

Props

Name⇅
Type⇅
Description⇅
id
string
A stable identifier used to reference the component.
prompt
string
The question or instruction shown to the reader.
text
string
The text content used by the component.
explanation
string
Feedback shown after the question is answered.
answer
expression
The expected answer used to evaluate a response.
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

Question.Fill

Fill in blanks
The quick brown fox
over the lazy
<Question.Fill text="The quick brown fox ___ over the lazy ___" answer={["jumps", "dog"]} explanation="The correct phrase is 'The quick brown fox jumps over the lazy dog.'" />