Skip to content

Commit

Permalink
Merge pull request #228 from PublicisSapient/combobox-fix
Browse files Browse the repository at this point in the history
Fixed incorrect combobox code walkthrough
  • Loading branch information
zoltan-dulac authored Nov 5, 2024
2 parents f3cb0f3 + 223f7cc commit 57dcd10
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions content/body/combobox.php
Original file line number Diff line number Diff line change
Expand Up @@ -471,22 +471,7 @@
<script type="application/json" id="submit-on-select-example-props">
{
"replaceHtmlRules": {
"[role=\"listbox\"]": [
"<div class=\"enable-combobox__group\" role=\"presentation\">",
"<h2 class=\"enable-combobox__group-header\">Communist States</h2>",
"",
"<div role=\"option\" >People's Republic of China</div>",
"",
"...",
"",
"</div>",
"<div class=\"enable-combobox__group\" role=\"presentation\">",
"<h2 class=\"enable-combobox__group-header\">Other States</h2>",
"<div role=\"option\" >Afghanistan</div>",
"",
"...",
"</div>"
]
"[role=\"listbox\"]": "<li role=\"option\" value=\"1942\">1942</li><li role=\"option\" value=\"Asteroids\">Asteroids</li> ..."
},
"steps": [{
"label": "Create JavaScript code to submit query when clicking the option elements.",
Expand Down

0 comments on commit 57dcd10

Please sign in to comment.