-
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.
- Loading branch information
Showing
4 changed files
with
29 additions
and
61 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,28 +1,17 @@ | ||
| Name | Type | Required | Description | | ||
| --------------------- | --------------------------------------------------------------- | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | | ||
| autosuggestData | string | false | URL of the JSON file with the autosuggest data that needs to be searched. Required if not using the address index api | | ||
| allowMultiple | boolean | false | Allows the component to accept multiple selections | | ||
| instructions | string | true | Instructions on how to use the autosuggest that will be read out by screen readers | | ||
| ariaYouHaveSelected | string | true | Aria message to tell the user that they have selected an answer | | ||
| ariaMinChars | string | true | Aria message to tell the user how many characters they need to enter before autosuggest will start | | ||
| minChars | integer | false | Minimum number of characters to run a query. Default is 3 | | ||
| ariaOneResult | string | true | Aria message to tell the user there is only one suggestion left | | ||
| ariaNResults | string | true | Aria message to tell the user how many suggestions are left | | ||
| moreResults | string | true | Aria message to tell the user to continue to type to refine suggestions | | ||
| noResults | string | true | message to tell the user there are no results | | ||
| tooManyResults | string | false | message to tell the user there are too many results to display and the user should refine the search. This is only required when using the address index api | | ||
| typeMore | string | true | message to encourage the user to enter more characters to get suggestions | | ||
| resultsTitle | string | true | Title of results to be displayed on screen at the top of the results | | ||
| resultsTitleId | string | true | ID for the results title. The ID is used in the results `aria-labelledby` to provide context for the results | | ||
| input | `Input` [_(ref)_](/components/input) - | true | Settings for the input | | ||
| mutuallyExclusive | `MutuallyExclusive` [_(ref)_](/components/mutually-exclusive) - | false | Configuration object if this is a mutually exclusive input | | ||
| label | `Label` [_(ref)_](/components/label) - | false | Settings for the input label. `for` will automatically be set to match the input id | | ||
| classes | string - | false | Classes to add to the input. | | ||
| legend | string - | Only if mutuallyExclusive is set | Text content for the legend | | ||
| legendClasses | string - | false | Classes for the legend | | ||
| error | `Error` [_(ref)_](/components/error) - | false | Configuration for validation errors | | ||
| name | string - | false | The name of the input | | ||
| value | string | number - | false | The value to set the input to | | ||
| attributes | object - | false | HTML attributes (for example, data attributes) to add to the input | | ||
| autocomplete | string - | true | Autocomplete attribute used to override the browsers native autocomplete | | ||
| accessiblePlaceholder | boolean - | false | Will add the provided label as an accessible placeholder | | ||
| Name | Type | Required | Description | | ||
| ------------------- | ------------------------------------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | | ||
| autosuggestData | string | false | URL of the JSON file with the autosuggest data that needs to be searched. Required if not using the address index api | | ||
| allowMultiple | boolean | false | Allows the component to accept multiple selections | | ||
| instructions | string | true | Instructions on how to use the autosuggest that will be read out by screen readers | | ||
| ariaYouHaveSelected | string | true | Aria message to tell the user that they have selected an answer | | ||
| ariaMinChars | string | true | Aria message to tell the user how many characters they need to enter before autosuggest will start | | ||
| minChars | integer | false | Minimum number of characters to run a query. Default is 3 | | ||
| ariaOneResult | string | true | Aria message to tell the user there is only one suggestion left | | ||
| ariaNResults | string | true | Aria message to tell the user how many suggestions are left | | ||
| moreResults | string | true | Aria message to tell the user to continue to type to refine suggestions | | ||
| noResults | string | true | message to tell the user there are no results | | ||
| tooManyResults | string | false | message to tell the user there are too many results to display and the user should refine the search. This is only required when using the address index api | | ||
| typeMore | string | true | message to encourage the user to enter more characters to get suggestions | | ||
| resultsTitle | string | true | Title of results to be displayed on screen at the top of the results | | ||
| resultsTitleId | string | true | ID for the results title. The ID is used in the results `aria-labelledby` to provide context for the results | | ||
| input | `Input` [_(ref)_](/components/input) | true | Configuration object for the input | |
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
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
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