Form
<ts-form> vv0.6.3
The ts-form component.
Open in Storybook for interactive demos.
Preview
Section titled “Preview”<ts-form>Content</ts-form>Properties
Section titled “Properties”| Property | Attribute | Type | Default | Description |
|---|---|---|---|---|
novalidate | novalidate | boolean | false | When true, disables native browser validation. |
Events
Section titled “Events”| Event | Detail | Bubbles | Composed | Description |
|---|---|---|---|---|
tsSubmit | TsFormSubmitDetail | Yes | Yes | Emitted when the form is submitted. |
Methods
Section titled “Methods”| Method | Signature | Description |
|---|---|---|
reset | reset() => Promise<void> | Resets all form fields to their default values. |
| Name | Description |
|---|---|
*(default)* | Default slot for form fields and controls. |
<ts-form>Content</ts-form>import { TsForm } from '@tessera-ui/react';
<TsForm>Content</TsForm>