-
-
Notifications
You must be signed in to change notification settings - Fork 77
Document fieldset formwidget #258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -791,6 +791,7 @@ There are various form widgets included as standard, although it is common for p | |||||
| - [Color picker](#color-picker) | ||||||
| - [Data table](#data-table) | ||||||
| - [Date picker](#date-picker) | ||||||
| - [Fieldset](#fieldset) | ||||||
| - [File upload](#file-upload) | ||||||
| - [Icon picker](#icon-picker) | ||||||
| - [Markdown editor](#markdown-editor) | ||||||
|
|
@@ -1003,6 +1004,36 @@ Option | Description | |||||
| `showWeekNumber` | show week numbers at head of row. Default: `false` | ||||||
| `ignoreTimezone` | store date and time exactly as it is displayed, ignoring the backend specified timezone preference. | ||||||
|
|
||||||
| ### Fieldset | ||||||
|
|
||||||
| `fieldset` - renders a group of fields in a <fieldset> tag. | ||||||
|
|
||||||
| > **NOTE:** Contrary to nested forms, the fields defined in a fieldset are part of the main form. They are only grouped visually within the <fieldset> tag. | ||||||
coderabbitai[bot] marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
LukeTowers marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
|
|
||||||
| ```yaml | ||||||
| groupedFields: | ||||||
| type: fieldset | ||||||
| label: Grouped Fields | ||||||
| form: | ||||||
| fields: | ||||||
| name: | ||||||
| label: Your name | ||||||
| address: | ||||||
| label: Your address | ||||||
| phone: | ||||||
| label: Your phone | ||||||
| type: tel | ||||||
| website: | ||||||
| label: Your website URL | ||||||
| type: url | ||||||
| ``` | ||||||
|
|
||||||
| A fieldset provides a way of ***visually*** grouping fields. The form definition does not support tabs or secondary tabs as it is only used to define the fields for grouping purpose. | ||||||
|
||||||
| A fieldset provides a way of ***visually*** grouping fields. The form definition does not support tabs or secondary tabs as it is only used to define the fields for grouping purpose. | |
| A fieldset provides a way of ***visually*** grouping fields. The form definition does not support tabs or secondary tabs as it is only used to define the fields for grouping purposes. |
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@backend/forms.md` at line 1031, Fix the grammar in the sentence inside the
form description by changing the phrase "for grouping purpose" to "for grouping
purposes" so the sentence reads that the form definition is only used to define
the fields for grouping purposes; locate this text in the form description
string (the sentence starting "The form definition does not support tabs or
secondary tabs as it is only used to define the fields for grouping...") and
update the plural.
Uh oh!
There was an error while loading. Please reload this page.