-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changed documentation as per comments
- Loading branch information
Showing
2 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
| Name | Type | Required | Description | | ||
| --------------------- | ------- | -------- | ------------------------------------------------------------------------------------------ | | ||
| id | string | false | The HTML `id` of the fieldset | | ||
| classes | string | false | Classes to apply to the fieldset | | ||
| legend | string | true | Text for the fieldset’s legend | | ||
| legendClasses | string | false | Classes to apply to the legend element | | ||
| legendIsQuestionTitle | boolean | false | Creates an `h1` inside the `legend`. Use when there is only a single fieldset on the page. | | ||
| legendTitleClasses | string | false | Classes to apply to the `h1` created using `legendIsQuestionTitle` | | ||
| description | string | false | Description for the fieldset | | ||
| attributes | object | false | HTML attributes (for example, data attributes) to add to the fieldset | | ||
| error | Error | false | Configuration for validation errors | | ||
| dontWrap | boolean | false | Prevents the fields from being wrapped in a fieldset | | ||
| Name | Type | Required | Description | | ||
| --------------------- | ------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------ | | ||
| id | string | false | The HTML `id` of the fieldset | | ||
| classes | string | false | Classes to apply to the fieldset | | ||
| legend | string | true | Legend will render text within a `<span>` tag | | ||
| legendClasses | string | false | Classes to apply to the legend element | | ||
| legendIsQuestionTitle | boolean | false | When set to true, the text provided within the `legend` is rendered as an `<h1>` tag. Use when there is only a single fieldset on the page | | ||
| legendTitleClasses | string | false | Classes to apply to the `h1` created using `legendIsQuestionTitle` | | ||
| description | string | false | Description for the fieldset | | ||
| attributes | object | false | HTML attributes (for example, data attributes) to add to the fieldset | | ||
| error | Error | false | Configuration for validation errors | | ||
| dontWrap | boolean | false | Prevents the fields from being wrapped in a fieldset | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters