form_page
FormPage
from dara.components.common.form_page import FormPage
class FormPage(FormComponent)
The FormPage component represents a section of the form to be displayed on a separate page. It is a wrapper that renders its children and includes next/back navigation buttons. Accepts an optional title parameter to display at the top of the page.
A FormPage component can be created like so:
from dara.components import Form, FormPage, Textarea, Slider
Form(
FormPage(
Slider(domain=[0.0, 10], id='MySlider'),
Textarea(id='MyTextarea'),
title="Page Title",
)
)
Arguments:
title
: The title of the form page
Attributes
- title: Optional[str]