Skip to content

Commit

Permalink
Merge pull request #112 from communitiesuk/add-option-value-to-html
Browse files Browse the repository at this point in the history
add option value to html for scraping
  • Loading branch information
Ellie-Brakoniecki committed Nov 14, 2023
2 parents 76fc34f + 834e4b3 commit ed17e2c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uk_gov_dash_components",
"version": "1.22.8",
"version": "1.23.0",
"description": "Dash components for Gov UK",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/Tabs.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Tabs.propTypes = {
defaultTab: PropTypes.number,

/**
* Array of accordion children.
* Array of tab children.
*/
children: PropTypes.arrayOf(PropTypes.node),
};
Expand Down
1 change: 1 addition & 0 deletions src/lib/fragments/AutoComplete.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,7 @@ const AutoComplete = (props) => {
<li
aria-selected={isFocus === index ? 'true' : 'false'}
className={option.disabled === true ? `${optionClassName} ${optionClassName}--disabled` : `${optionClassName}${optionModifierFocused}${optionModifierOdd}`}
option-value={option.value}
dangerouslySetInnerHTML={{ __html: templateSuggestion(option) + iosPosinsetHtml }}
id={`${id}__option--${index}`}
key={index}
Expand Down

0 comments on commit ed17e2c

Please sign in to comment.