Form
Table of Contents
Anatomy
This is a very simple component that allows for free-form HTML or other components to be placed in a container above an embedded form provided by the form system.
Usage Guidelines
Embedded form with a slot to insert intro copy above.
Specifications
Properties
Property | Type | Description | Required | Default |
---|---|---|---|---|
content | string | Inner main HTML content | - | - |
default_form_id | string | Specific ID used by the form system. This is usually provided by the global context and doesn't need to be specified. | - | - |
Changelog
1.25.0 (2021-09-30)
1.8.0
- form added
Examples
Default
Inner Heading
Maecenas faucibus mollis interdum.
Form Inputs
<x-form default_form_id="default-id"> <x-slot name="content"> <h2 class='h3'>Inner Heading</h2> <p>Maecenas faucibus mollis interdum.</p> <div class="tux-c-placeholder">Form Inputs</div> </x-slot> </x-form>