@aurodesignsystem-dev/auro-formkit 0.0.0-pr1001.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (297) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +201 -0
  3. package/NOTICE +2 -0
  4. package/README.md +314 -0
  5. package/components/bibtemplate/dist/auro-bibtemplate.d.ts +50 -0
  6. package/components/bibtemplate/dist/buttonVersion.d.ts +2 -0
  7. package/components/bibtemplate/dist/headerVersion.d.ts +2 -0
  8. package/components/bibtemplate/dist/iconVersion.d.ts +2 -0
  9. package/components/bibtemplate/dist/index.d.ts +2 -0
  10. package/components/bibtemplate/dist/index.js +1940 -0
  11. package/components/bibtemplate/dist/registered.js +1940 -0
  12. package/components/bibtemplate/dist/styles/color-css.d.ts +2 -0
  13. package/components/bibtemplate/dist/styles/style-css.d.ts +2 -0
  14. package/components/bibtemplate/dist/styles/tokens-css.d.ts +2 -0
  15. package/components/checkbox/README.md +142 -0
  16. package/components/checkbox/demo/api.html +61 -0
  17. package/components/checkbox/demo/api.js +17 -0
  18. package/components/checkbox/demo/api.md +436 -0
  19. package/components/checkbox/demo/api.min.js +1870 -0
  20. package/components/checkbox/demo/index.html +57 -0
  21. package/components/checkbox/demo/index.js +8 -0
  22. package/components/checkbox/demo/index.md +327 -0
  23. package/components/checkbox/demo/index.min.js +1845 -0
  24. package/components/checkbox/demo/readme.html +57 -0
  25. package/components/checkbox/demo/readme.md +142 -0
  26. package/components/checkbox/dist/auro-checkbox-group.d.ts +166 -0
  27. package/components/checkbox/dist/auro-checkbox.d.ts +136 -0
  28. package/components/checkbox/dist/helptextVersion.d.ts +2 -0
  29. package/components/checkbox/dist/index.d.ts +3 -0
  30. package/components/checkbox/dist/index.js +1794 -0
  31. package/components/checkbox/dist/registered.js +1795 -0
  32. package/components/checkbox/dist/styles/auro-checkbox-css.d.ts +2 -0
  33. package/components/checkbox/dist/styles/auro-checkbox-group-css.d.ts +2 -0
  34. package/components/checkbox/dist/styles/color-css.d.ts +2 -0
  35. package/components/checkbox/dist/styles/colorGroup-css.d.ts +2 -0
  36. package/components/checkbox/dist/styles/tokens-css.d.ts +2 -0
  37. package/components/combobox/README.md +154 -0
  38. package/components/combobox/demo/api.html +63 -0
  39. package/components/combobox/demo/api.js +36 -0
  40. package/components/combobox/demo/api.md +1326 -0
  41. package/components/combobox/demo/api.min.js +18691 -0
  42. package/components/combobox/demo/index.html +63 -0
  43. package/components/combobox/demo/index.js +26 -0
  44. package/components/combobox/demo/index.md +725 -0
  45. package/components/combobox/demo/index.min.js +18545 -0
  46. package/components/combobox/demo/readme.html +57 -0
  47. package/components/combobox/demo/readme.md +154 -0
  48. package/components/combobox/dist/auro-combobox.d.ts +434 -0
  49. package/components/combobox/dist/bibtemplateVersion.d.ts +2 -0
  50. package/components/combobox/dist/dropdownVersion.d.ts +2 -0
  51. package/components/combobox/dist/index.d.ts +2 -0
  52. package/components/combobox/dist/index.js +16999 -0
  53. package/components/combobox/dist/inputVersion.d.ts +2 -0
  54. package/components/combobox/dist/registered.js +17001 -0
  55. package/components/combobox/dist/styles/emphasized/style-css.d.ts +2 -0
  56. package/components/combobox/dist/styles/snowflake/style-css.d.ts +2 -0
  57. package/components/combobox/dist/styles/style-css.d.ts +2 -0
  58. package/components/counter/README.md +146 -0
  59. package/components/counter/demo/api.html +61 -0
  60. package/components/counter/demo/api.js +20 -0
  61. package/components/counter/demo/api.md +730 -0
  62. package/components/counter/demo/api.min.js +10406 -0
  63. package/components/counter/demo/index.html +61 -0
  64. package/components/counter/demo/index.js +21 -0
  65. package/components/counter/demo/index.md +401 -0
  66. package/components/counter/demo/index.min.js +10370 -0
  67. package/components/counter/demo/readme.html +57 -0
  68. package/components/counter/demo/readme.md +146 -0
  69. package/components/counter/dist/auro-counter-button.d.ts +14 -0
  70. package/components/counter/dist/auro-counter-group.d.ts +386 -0
  71. package/components/counter/dist/auro-counter-wrapper.d.ts +22 -0
  72. package/components/counter/dist/auro-counter.d.ts +113 -0
  73. package/components/counter/dist/bibtemplateVersion.d.ts +2 -0
  74. package/components/counter/dist/dropdownVersion.d.ts +2 -0
  75. package/components/counter/dist/helptextVersion.d.ts +2 -0
  76. package/components/counter/dist/iconVersion.d.ts +2 -0
  77. package/components/counter/dist/index.d.ts +3 -0
  78. package/components/counter/dist/index.js +10313 -0
  79. package/components/counter/dist/registered.js +10314 -0
  80. package/components/counter/dist/styles/color-css.d.ts +2 -0
  81. package/components/counter/dist/styles/counter-button-color-css.d.ts +2 -0
  82. package/components/counter/dist/styles/counter-button-css.d.ts +2 -0
  83. package/components/counter/dist/styles/counter-group-css.d.ts +2 -0
  84. package/components/counter/dist/styles/counter-wrapper-color-css.d.ts +2 -0
  85. package/components/counter/dist/styles/counter-wrapper-css.d.ts +2 -0
  86. package/components/counter/dist/styles/shapeSize-css.d.ts +2 -0
  87. package/components/counter/dist/styles/style-css.d.ts +2 -0
  88. package/components/counter/dist/styles/tokens-css.d.ts +2 -0
  89. package/components/datepicker/README.md +141 -0
  90. package/components/datepicker/demo/api.html +63 -0
  91. package/components/datepicker/demo/api.js +35 -0
  92. package/components/datepicker/demo/api.md +1529 -0
  93. package/components/datepicker/demo/api.min.js +29755 -0
  94. package/components/datepicker/demo/index.html +62 -0
  95. package/components/datepicker/demo/index.js +19 -0
  96. package/components/datepicker/demo/index.md +204 -0
  97. package/components/datepicker/demo/index.min.js +29476 -0
  98. package/components/datepicker/demo/readme.html +57 -0
  99. package/components/datepicker/demo/readme.md +141 -0
  100. package/components/datepicker/dist/auro-calendar-cell.d.ts +163 -0
  101. package/components/datepicker/dist/auro-calendar-month.d.ts +20 -0
  102. package/components/datepicker/dist/auro-calendar.d.ts +133 -0
  103. package/components/datepicker/dist/auro-datepicker.d.ts +625 -0
  104. package/components/datepicker/dist/bibtemplateVersion.d.ts +2 -0
  105. package/components/datepicker/dist/buttonVersion.d.ts +2 -0
  106. package/components/datepicker/dist/dropdownVersion.d.ts +2 -0
  107. package/components/datepicker/dist/iconVersion.d.ts +2 -0
  108. package/components/datepicker/dist/index.d.ts +2 -0
  109. package/components/datepicker/dist/index.js +29406 -0
  110. package/components/datepicker/dist/inputVersion.d.ts +2 -0
  111. package/components/datepicker/dist/popoverVersion.d.ts +2 -0
  112. package/components/datepicker/dist/registered.js +29406 -0
  113. package/components/datepicker/dist/styles/classic/color-css.d.ts +2 -0
  114. package/components/datepicker/dist/styles/classic/style-css.d.ts +2 -0
  115. package/components/datepicker/dist/styles/color-calendar-css.d.ts +2 -0
  116. package/components/datepicker/dist/styles/color-cell-css.d.ts +2 -0
  117. package/components/datepicker/dist/styles/color-css.d.ts +2 -0
  118. package/components/datepicker/dist/styles/color-month-css.d.ts +2 -0
  119. package/components/datepicker/dist/styles/shapeSize-css.d.ts +2 -0
  120. package/components/datepicker/dist/styles/snowflake/color-css.d.ts +2 -0
  121. package/components/datepicker/dist/styles/snowflake/style-css.d.ts +2 -0
  122. package/components/datepicker/dist/styles/style-auro-calendar-cell-css.d.ts +2 -0
  123. package/components/datepicker/dist/styles/style-auro-calendar-css.d.ts +2 -0
  124. package/components/datepicker/dist/styles/style-auro-calendar-month-css.d.ts +2 -0
  125. package/components/datepicker/dist/styles/style-css.d.ts +2 -0
  126. package/components/datepicker/dist/styles/tokens-css.d.ts +2 -0
  127. package/components/datepicker/dist/utilities.d.ts +78 -0
  128. package/components/datepicker/dist/utilitiesCalendar.d.ts +38 -0
  129. package/components/datepicker/dist/utilitiesCalendarRender.d.ts +50 -0
  130. package/components/datepicker/dist/vendor/wc-range-datepicker/day.d.ts +5 -0
  131. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts +60 -0
  132. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-cell.d.ts +1 -0
  133. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts +57 -0
  134. package/components/dropdown/README.md +144 -0
  135. package/components/dropdown/demo/api.html +63 -0
  136. package/components/dropdown/demo/api.js +21 -0
  137. package/components/dropdown/demo/api.md +1266 -0
  138. package/components/dropdown/demo/api.min.js +4442 -0
  139. package/components/dropdown/demo/index.html +61 -0
  140. package/components/dropdown/demo/index.js +19 -0
  141. package/components/dropdown/demo/index.md +337 -0
  142. package/components/dropdown/demo/index.min.js +4405 -0
  143. package/components/dropdown/demo/readme.html +57 -0
  144. package/components/dropdown/demo/readme.md +144 -0
  145. package/components/dropdown/dist/auro-dropdown.d.ts +425 -0
  146. package/components/dropdown/dist/auro-dropdownBib.d.ts +68 -0
  147. package/components/dropdown/dist/dropdownVersion.d.ts +2 -0
  148. package/components/dropdown/dist/helptextVersion.d.ts +2 -0
  149. package/components/dropdown/dist/iconVersion.d.ts +2 -0
  150. package/components/dropdown/dist/index.d.ts +2 -0
  151. package/components/dropdown/dist/index.js +4350 -0
  152. package/components/dropdown/dist/registered.js +4350 -0
  153. package/components/dropdown/dist/styles/classic/bibColors-css.d.ts +2 -0
  154. package/components/dropdown/dist/styles/classic/bibStyles-css.d.ts +2 -0
  155. package/components/dropdown/dist/styles/classic/color-css.d.ts +2 -0
  156. package/components/dropdown/dist/styles/classic/style-css.d.ts +2 -0
  157. package/components/dropdown/dist/styles/color-css.d.ts +2 -0
  158. package/components/dropdown/dist/styles/emphasized/style-css.d.ts +2 -0
  159. package/components/dropdown/dist/styles/shapeSize-css.d.ts +2 -0
  160. package/components/dropdown/dist/styles/snowflake/style-css.d.ts +2 -0
  161. package/components/dropdown/dist/styles/style-css.d.ts +2 -0
  162. package/components/dropdown/dist/styles/tokens-css.d.ts +2 -0
  163. package/components/form/README.md +142 -0
  164. package/components/form/demo/api.html +56 -0
  165. package/components/form/demo/api.js +3 -0
  166. package/components/form/demo/api.md +51 -0
  167. package/components/form/demo/api.min.js +638 -0
  168. package/components/form/demo/autocomplete.html +31 -0
  169. package/components/form/demo/index.html +57 -0
  170. package/components/form/demo/index.js +4 -0
  171. package/components/form/demo/index.md +403 -0
  172. package/components/form/demo/index.min.js +639 -0
  173. package/components/form/demo/readme.html +57 -0
  174. package/components/form/demo/readme.md +142 -0
  175. package/components/form/demo/registerDemoDeps.js +23 -0
  176. package/components/form/demo/working.html +124 -0
  177. package/components/form/dist/auro-form.d.ts +223 -0
  178. package/components/form/dist/index.d.ts +2 -0
  179. package/components/form/dist/index.js +614 -0
  180. package/components/form/dist/registered.d.ts +1 -0
  181. package/components/form/dist/registered.js +614 -0
  182. package/components/form/dist/styles/style-css.d.ts +2 -0
  183. package/components/helptext/dist/auro-helptext.d.ts +59 -0
  184. package/components/helptext/dist/index.d.ts +2 -0
  185. package/components/helptext/dist/index.js +207 -0
  186. package/components/helptext/dist/registered.js +207 -0
  187. package/components/helptext/dist/styles/color-css.d.ts +2 -0
  188. package/components/helptext/dist/styles/style-css.d.ts +2 -0
  189. package/components/helptext/dist/styles/tokens-css.d.ts +2 -0
  190. package/components/input/README.md +139 -0
  191. package/components/input/demo/api.html +48 -0
  192. package/components/input/demo/api.js +29 -0
  193. package/components/input/demo/api.md +1366 -0
  194. package/components/input/demo/api.min.js +8542 -0
  195. package/components/input/demo/index.html +49 -0
  196. package/components/input/demo/index.js +20 -0
  197. package/components/input/demo/index.md +270 -0
  198. package/components/input/demo/index.min.js +8461 -0
  199. package/components/input/demo/readme.html +57 -0
  200. package/components/input/demo/readme.md +139 -0
  201. package/components/input/dist/auro-input.d.ts +167 -0
  202. package/components/input/dist/base-input.d.ts +566 -0
  203. package/components/input/dist/buttonVersion.d.ts +2 -0
  204. package/components/input/dist/helptextVersion.d.ts +2 -0
  205. package/components/input/dist/i18n.d.ts +18 -0
  206. package/components/input/dist/iconVersion.d.ts +2 -0
  207. package/components/input/dist/index.d.ts +2 -0
  208. package/components/input/dist/index.js +8367 -0
  209. package/components/input/dist/registered.js +8367 -0
  210. package/components/input/dist/styles/classic/color-css.d.ts +2 -0
  211. package/components/input/dist/styles/classic/style-css.d.ts +2 -0
  212. package/components/input/dist/styles/color-css.d.ts +2 -0
  213. package/components/input/dist/styles/default/borders-css.d.ts +2 -0
  214. package/components/input/dist/styles/default/color-css.d.ts +2 -0
  215. package/components/input/dist/styles/default/mixins-css.d.ts +2 -0
  216. package/components/input/dist/styles/default/notificationIcons-css.d.ts +2 -0
  217. package/components/input/dist/styles/default/style-css.d.ts +2 -0
  218. package/components/input/dist/styles/emphasized/color-css.d.ts +2 -0
  219. package/components/input/dist/styles/emphasized/style-css.d.ts +2 -0
  220. package/components/input/dist/styles/mixins-css.d.ts +2 -0
  221. package/components/input/dist/styles/shapeSize-css.d.ts +2 -0
  222. package/components/input/dist/styles/snowflake/style-css.d.ts +2 -0
  223. package/components/input/dist/styles/style-css.d.ts +2 -0
  224. package/components/input/dist/styles/tokens-css.d.ts +2 -0
  225. package/components/input/dist/utilities.d.ts +25 -0
  226. package/components/layoutElement/dist/auroElement.d.ts +34 -0
  227. package/components/layoutElement/dist/index.d.ts +2 -0
  228. package/components/layoutElement/dist/index.js +98 -0
  229. package/components/layoutElement/dist/registered.js +98 -0
  230. package/components/menu/README.md +145 -0
  231. package/components/menu/demo/api.html +62 -0
  232. package/components/menu/demo/api.js +27 -0
  233. package/components/menu/demo/api.md +1011 -0
  234. package/components/menu/demo/api.min.js +1762 -0
  235. package/components/menu/demo/index.html +58 -0
  236. package/components/menu/demo/index.js +28 -0
  237. package/components/menu/demo/index.md +61 -0
  238. package/components/menu/demo/index.min.js +1708 -0
  239. package/components/menu/demo/readme.html +57 -0
  240. package/components/menu/demo/readme.md +145 -0
  241. package/components/menu/dist/auro-menu-utils.d.ts +34 -0
  242. package/components/menu/dist/auro-menu.d.ts +246 -0
  243. package/components/menu/dist/auro-menuoption.d.ts +81 -0
  244. package/components/menu/dist/dropdownVersion.d.ts +2 -0
  245. package/components/menu/dist/iconVersion.d.ts +2 -0
  246. package/components/menu/dist/index.d.ts +4 -0
  247. package/components/menu/dist/index.js +1691 -0
  248. package/components/menu/dist/registered.js +1651 -0
  249. package/components/menu/dist/styles/default/color-menu-css.d.ts +2 -0
  250. package/components/menu/dist/styles/default/color-menuoption-css.d.ts +2 -0
  251. package/components/menu/dist/styles/default/style-menu-css.d.ts +2 -0
  252. package/components/menu/dist/styles/default/style-menuoption-css.d.ts +2 -0
  253. package/components/menu/dist/styles/default/tokens-css.d.ts +2 -0
  254. package/components/radio/README.md +137 -0
  255. package/components/radio/demo/api.html +59 -0
  256. package/components/radio/demo/api.js +19 -0
  257. package/components/radio/demo/api.md +602 -0
  258. package/components/radio/demo/api.min.js +1951 -0
  259. package/components/radio/demo/index.html +56 -0
  260. package/components/radio/demo/index.js +8 -0
  261. package/components/radio/demo/index.md +150 -0
  262. package/components/radio/demo/index.min.js +1908 -0
  263. package/components/radio/demo/readme.html +57 -0
  264. package/components/radio/demo/readme.md +137 -0
  265. package/components/radio/dist/auro-radio-group.d.ts +194 -0
  266. package/components/radio/dist/auro-radio.d.ts +147 -0
  267. package/components/radio/dist/helptextVersion.d.ts +2 -0
  268. package/components/radio/dist/index.d.ts +3 -0
  269. package/components/radio/dist/index.js +1857 -0
  270. package/components/radio/dist/registered.js +1858 -0
  271. package/components/radio/dist/styles/auro-radio-group-css.d.ts +2 -0
  272. package/components/radio/dist/styles/color-css.d.ts +2 -0
  273. package/components/radio/dist/styles/groupColor-css.d.ts +2 -0
  274. package/components/radio/dist/styles/style-css.d.ts +2 -0
  275. package/components/radio/dist/styles/tokens-css.d.ts +2 -0
  276. package/components/select/README.md +145 -0
  277. package/components/select/demo/api.html +77 -0
  278. package/components/select/demo/api.js +35 -0
  279. package/components/select/demo/api.md +1413 -0
  280. package/components/select/demo/api.min.js +10502 -0
  281. package/components/select/demo/index.html +73 -0
  282. package/components/select/demo/index.js +9 -0
  283. package/components/select/demo/index.md +1151 -0
  284. package/components/select/demo/index.min.js +10390 -0
  285. package/components/select/demo/readme.html +57 -0
  286. package/components/select/demo/readme.md +145 -0
  287. package/components/select/dist/auro-select.d.ts +512 -0
  288. package/components/select/dist/bibtemplateVersion.d.ts +2 -0
  289. package/components/select/dist/dropdownVersion.d.ts +2 -0
  290. package/components/select/dist/helptextVersion.d.ts +2 -0
  291. package/components/select/dist/index.d.ts +2 -0
  292. package/components/select/dist/index.js +8898 -0
  293. package/components/select/dist/registered.js +8898 -0
  294. package/components/select/dist/styles/shapeSize-css.d.ts +2 -0
  295. package/components/select/dist/styles/style-css.d.ts +2 -0
  296. package/components/select/dist/styles/tokens-css.d.ts +2 -0
  297. package/package.json +218 -0
@@ -0,0 +1,1326 @@
1
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/api.md) -->
2
+ <!-- The below content is automatically added from ./../docs/api.md -->
3
+
4
+ # auro-combobox
5
+
6
+ ## Properties
7
+
8
+ | Property | Attribute | Type | Default | Description |
9
+ |---------------------------------|---------------------------------|---------------|----------------|--------------------------------------------------|
10
+ | [autoPlacement](#autoPlacement) | `autoPlacement` | `boolean` | | If declared, bib's position will be automatically calculated where to appear. |
11
+ | [autocomplete](#autocomplete) | `autocomplete` | `string` | "false" | An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported. |
12
+ | [checkmark](#checkmark) | `checkmark` | `boolean` | | When attribute is present auro-menu will apply checkmarks to selected options. |
13
+ | [disabled](#disabled) | `disabled` | `boolean` | | If set, disables the combobox. |
14
+ | [error](#error) | `error` | `string` | | When defined, sets persistent validity to `customError` and sets the validation message to the attribute value. |
15
+ | [format](#format) | `format` | `string` | | Specifies the input mask format. |
16
+ | [fullscreenBreakpoint](#fullscreenBreakpoint) | `fullscreenBreakpoint` | `string` | "sm" | Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)<br />at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.<br /><br />When expanded, the dropdown will automatically display in fullscreen mode<br />if the screen size is equal to or smaller than the selected breakpoint. |
17
+ | [inputmode](#inputmode) | `inputmode` | `string` | | Exposes inputmode attribute for input. |
18
+ | [largeFullscreenHeadline](#largeFullscreenHeadline) | `largeFullscreenHeadline` | `boolean` | | If declared, make bib.fullscreen.headline in HeadingDisplay.<br />Otherwise, Heading 600 |
19
+ | [layout](#layout) | | `string` | | |
20
+ | [matchWidth](#matchWidth) | `matchWidth` | `boolean` | true | If declared, the popover and trigger will be set to the same width. |
21
+ | [noFilter](#noFilter) | `noFilter` | `boolean` | | If set, combobox will not filter menuoptions based in input. |
22
+ | [noFlip](#noFlip) | `noFlip` | `boolean` | "false" | If declared, the bib will NOT flip to an alternate position<br />when there isn't enough space in the specified `placement`. |
23
+ | [noValidate](#noValidate) | `noValidate` | `boolean` | | If set, disables auto-validation on blur. |
24
+ | [offset](#offset) | `offset` | `number` | "0" | Gap between the trigger element and bib. |
25
+ | [onDark](#onDark) | `onDark` | `boolean` | | If declared, onDark styles will be applied to the trigger. |
26
+ | [optionSelected](#optionSelected) | `optionSelected` | `HTMLElement` | | Specifies the current selected option. |
27
+ | [placeholder](#placeholder) | `placeholder` | `string` | | Define custom placeholder text, only supported by date input formats. |
28
+ | [placement](#placement) | `placement` | `string` | "bottom-start" | Position where the bib should appear relative to the trigger.<br />Accepted values:<br />"top" \| "right" \| "bottom" \| "left" \|<br />"bottom-start" \| "top-start" \| "top-end" \|<br />"right-start" \| "right-end" \| "bottom-end" \|<br />"left-start" \| "left-end" |
29
+ | [required](#required) | `required` | `boolean` | | Populates the `required` attribute on the input. Used for client-side validation. |
30
+ | [setCustomValidity](#setCustomValidity) | `setCustomValidity` | `string` | | Sets a custom help text message to display for all validityStates. |
31
+ | [setCustomValidityCustomError](#setCustomValidityCustomError) | `setCustomValidityCustomError` | `string` | | Custom help text message to display when validity = `customError`. |
32
+ | [setCustomValidityValueMissing](#setCustomValidityValueMissing) | `setCustomValidityValueMissing` | `string` | | Custom help text message to display when validity = `valueMissing`. |
33
+ | [triggerIcon](#triggerIcon) | `triggerIcon` | `boolean` | | If set, the `icon` attribute will be applied to the trigger `auro-input` element. |
34
+ | [type](#type) | `type` | `string` | | Applies the defined value as the type attribute on auro-input. |
35
+ | [validity](#validity) | `validity` | `string` | | Specifies the `validityState` this element is in. |
36
+ | [value](#value) | `value` | `string` | | Value selected for the dropdown menu. |
37
+
38
+ ## Methods
39
+
40
+ | Method | Type | Description |
41
+ |------------|----------------------------------------|--------------------------------------------------|
42
+ | [clear](#clear) | `(): void` | Clears the current value of the combobox. |
43
+ | [focus](#focus) | `(): void` | Focuses the combobox trigger input. |
44
+ | [hideBib](#hideBib) | `(): void` | Hides the dropdown bib if its open. |
45
+ | [isValid](#isValid) | `(): boolean` | Checks if the element is valid. |
46
+ | [reset](#reset) | `(): void` | Resets component to initial state. |
47
+ | [showBib](#showBib) | `(): void` | Shows the dropdown bib if there are options to show. |
48
+ | [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
49
+
50
+ ## Events
51
+
52
+ | Event | Type | Description |
53
+ |-----------------------------|--------------------|--------------------------------------------------|
54
+ | `auroCombobox-valueSet` | `CustomEvent<any>` | Notifies that the component has a new value set. |
55
+ | `auroFormElement-validated` | | Notifies that the component value(s) have been validated. |
56
+
57
+ ## Slots
58
+
59
+ | Name | Description |
60
+ |---------------------------|--------------------------------------------------|
61
+ | | Default slot for the menu content. |
62
+ | `ariaLabel.bib.close` | Sets aria-label on close button in fullscreen bib |
63
+ | `ariaLabel.input.clear` | Sets aria-label on clear button |
64
+ | `bib.fullscreen.headline` | Defines the headline to display above menu-options |
65
+ | [displayValue](#displayValue) | Allows custom HTML content to display the selected value when the combobox is not focused. Only works with `snowflake` and `emphasized` layouts. |
66
+ | [helpText](#helpText) | Defines the content of the helpText. |
67
+ | [label](#label) | Defines the content of the label. |
68
+ | [optionalLabel](#optionalLabel) | Allows overriding the optional display text "(optional)", which appears next to the label. |
69
+ <!-- AURO-GENERATED-CONTENT:END -->
70
+
71
+ ## API Examples
72
+
73
+ ### Basic
74
+
75
+ <div class="exampleWrapper">
76
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
77
+ <!-- The below content is automatically added from ./../apiExamples/basic.html -->
78
+ <auro-combobox>
79
+ <span slot="ariaLabel.bib.close">Close combobox</span>
80
+ <span slot="ariaLabel.input.clear">Clear All</span>
81
+ <span slot="bib.fullscreen.headline">Bib Header</span>
82
+ <span slot="label">Name</span>
83
+ <auro-menu>
84
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
85
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
86
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
87
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
88
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
89
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
90
+ </auro-menu>
91
+ </auro-combobox>
92
+ <!-- AURO-GENERATED-CONTENT:END -->
93
+ </div>
94
+ <div class="exampleWrapper--ondark" aria-hidden>
95
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDark.html) -->
96
+ <!-- The below content is automatically added from ./../apiExamples/onDark.html -->
97
+ <auro-combobox onDark>
98
+ <span slot="bib.fullscreen.headline">Bib Header</span>
99
+ <span slot="label">Name</span>
100
+ <auro-menu>
101
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
102
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
103
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
104
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
105
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
106
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
107
+ </auro-menu>
108
+ </auro-combobox>
109
+ <!-- AURO-GENERATED-CONTENT:END -->
110
+ </div>
111
+ <auro-accordion alignRight>
112
+ <span slot="trigger">See code</span>
113
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/basic.html) -->
114
+ <!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
115
+
116
+ ```html
117
+ <auro-combobox>
118
+ <span slot="ariaLabel.bib.close">Close combobox</span>
119
+ <span slot="ariaLabel.input.clear">Clear All</span>
120
+ <span slot="bib.fullscreen.headline">Bib Header</span>
121
+ <span slot="label">Name</span>
122
+ <auro-menu>
123
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
124
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
125
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
126
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
127
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
128
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
129
+ </auro-menu>
130
+ </auro-combobox>
131
+ ```
132
+ <!-- AURO-GENERATED-CONTENT:END -->
133
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDark.html) -->
134
+ <!-- The below content is automatically added from ./../apiExamples/onDark.html -->
135
+ <auro-combobox onDark>
136
+ <span slot="bib.fullscreen.headline">Bib Header</span>
137
+ <span slot="label">Name</span>
138
+ <auro-menu>
139
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
140
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
141
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
142
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
143
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
144
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
145
+ </auro-menu>
146
+ </auro-combobox>
147
+ <!-- AURO-GENERATED-CONTENT:END -->
148
+ </auro-accordion>
149
+
150
+ ### Dynamic Menu
151
+
152
+ This example demonstrates a data driven combobox. The data is used to populate the `auro-menu`. In this example, each time the input's value changes, the data is updated and the menu is recreated.
153
+
154
+ The menu in this example was populated from data from a country/city API. To keep the data set small, the data in the menu is based off an API call that returns all countries and cities that contain the substring "**germ**" (non case-sensitive) in their name.
155
+
156
+ <div class="exampleWrapper">
157
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/dynamicMenu.html) -->
158
+ <!-- The below content is automatically added from ./../apiExamples/dynamicMenu.html -->
159
+ <!-- HTML example file -->
160
+ <!-- ----------------- -->
161
+ <auro-combobox id="dynamicMenuExample" noFilter>
162
+ <span slot="bib.fullscreen.headline">Dynamic Combobox Header</span>
163
+ <span slot="label">Name</span>
164
+ <!--
165
+ The auro-combobox element requires an empty auro-menu element
166
+ due to the requirements of auro-dropdown and auro-input
167
+ -->
168
+ <auro-menu id="initMenu"></auro-menu>
169
+ </auro-combobox>
170
+ <!-- AURO-GENERATED-CONTENT:END -->
171
+ </div>
172
+ <auro-accordion alignRight>
173
+ <span slot="trigger">See code</span>
174
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/dynamicMenu.html) -->
175
+ <!-- The below code snippet is automatically added from ./../apiExamples/dynamicMenu.html -->
176
+
177
+ ```html
178
+ <!-- HTML example file -->
179
+ <!-- ----------------- -->
180
+ <auro-combobox id="dynamicMenuExample" noFilter>
181
+ <span slot="bib.fullscreen.headline">Dynamic Combobox Header</span>
182
+ <span slot="label">Name</span>
183
+ <!--
184
+ The auro-combobox element requires an empty auro-menu element
185
+ due to the requirements of auro-dropdown and auro-input
186
+ -->
187
+ <auro-menu id="initMenu"></auro-menu>
188
+ </auro-combobox>
189
+ ```
190
+ <!-- AURO-GENERATED-CONTENT:END -->
191
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/dynamicMenu.js) -->
192
+ <!-- The below code snippet is automatically added from ./../apiExamples/dynamicMenu.js -->
193
+
194
+ ```js
195
+ // Javascript example file
196
+ // -----------------------
197
+ import { DynamicData } from './dynamicMenuDataApi';
198
+
199
+ export function dynamicMenuExample() {
200
+ // Resets the root menu
201
+ function resetMenu(root) {
202
+ while (root.firstChild) {
203
+ root.removeChild(root.firstChild);
204
+ }
205
+ }
206
+
207
+ // Generates HTML for menu and submenus using country & city data from an external API
208
+ function generateHtml(data) {
209
+ const initialMenu = document.querySelector('#initMenu');
210
+
211
+ resetMenu(initialMenu);
212
+
213
+ for (let index = 0; index < data.length; index++) {
214
+ let country = data[index]['country'];
215
+ let cities = data[index]['cities'];
216
+
217
+ generateMenuOptionHtml(initialMenu, country, country);
218
+
219
+ for (let indexB = 0; indexB < cities.length; indexB++) {
220
+ let subMenu = document.createElement('auro-menu');
221
+
222
+ generateMenuOptionHtml(subMenu, cities[indexB], cities[indexB]);
223
+
224
+ initialMenu.appendChild(subMenu);
225
+ }
226
+ };
227
+ }
228
+
229
+ // Helper function that generates HTML for menuoptions
230
+ function generateMenuOptionHtml(menu, label, value) {
231
+ let option = document.createElement('auro-menuoption');
232
+
233
+ option.value = value;
234
+ option.innerHTML = label;
235
+
236
+ menu.appendChild(option);
237
+ }
238
+
239
+ // Main javascript that runs all JS to create example
240
+ const dynamicData = new DynamicData();
241
+ const dynamicMenuExample = document.querySelector('#dynamicMenuExample');
242
+ const dropdownEl = dynamicMenuExample.shadowRoot.querySelector(dynamicMenuExample.dropdownTag._$litStatic$);
243
+ const inputEl = dropdownEl.querySelector(dynamicMenuExample.inputTag._$litStatic$);
244
+
245
+ inputEl.addEventListener('input', () => {
246
+ let data = dynamicData.getData();
247
+ data = dynamicData.filterData(data, inputEl.value);
248
+
249
+ generateHtml(data);
250
+ });
251
+ }
252
+ ```
253
+ <!-- AURO-GENERATED-CONTENT:END -->
254
+ </auro-accordion>
255
+
256
+ ### Property Examples
257
+
258
+ #### disabled
259
+
260
+ If set, disables the combobox.
261
+
262
+ <div class="exampleWrapper">
263
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/disabled.html) -->
264
+ <!-- The below content is automatically added from ./../apiExamples/disabled.html -->
265
+ <auro-combobox disabled>
266
+ <span slot="bib.fullscreen.headline">Bib Header</span>
267
+ <span slot="label">Name</span>
268
+ <auro-menu>
269
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
270
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
271
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
272
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
273
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
274
+ <auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
275
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
276
+ </auro-menu>
277
+ </auro-combobox>
278
+ <!-- AURO-GENERATED-CONTENT:END -->
279
+ </div>
280
+ <div class="exampleWrapper--ondark" aria-hidden>
281
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkDisabled.html) -->
282
+ <!-- The below content is automatically added from ./../apiExamples/onDarkDisabled.html -->
283
+ <auro-combobox onDark disabled>
284
+ <span slot="bib.fullscreen.headline">Bib Header</span>
285
+ <span slot="label">Name</span>
286
+ <auro-menu>
287
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
288
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
289
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
290
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
291
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
292
+ <auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
293
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
294
+ </auro-menu>
295
+ </auro-combobox>
296
+ <!-- AURO-GENERATED-CONTENT:END -->
297
+ </div>
298
+ <auro-accordion alignRight>
299
+ <span slot="trigger">See code</span>
300
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/disabled.html) -->
301
+ <!-- The below code snippet is automatically added from ./../apiExamples/disabled.html -->
302
+
303
+ ```html
304
+ <auro-combobox disabled>
305
+ <span slot="bib.fullscreen.headline">Bib Header</span>
306
+ <span slot="label">Name</span>
307
+ <auro-menu>
308
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
309
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
310
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
311
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
312
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
313
+ <auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
314
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
315
+ </auro-menu>
316
+ </auro-combobox>
317
+ ```
318
+ <!-- AURO-GENERATED-CONTENT:END -->
319
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkDisabled.html) -->
320
+ <!-- The below content is automatically added from ./../apiExamples/onDarkDisabled.html -->
321
+ <auro-combobox onDark disabled>
322
+ <span slot="bib.fullscreen.headline">Bib Header</span>
323
+ <span slot="label">Name</span>
324
+ <auro-menu>
325
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
326
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
327
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
328
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
329
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
330
+ <auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
331
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
332
+ </auro-menu>
333
+ </auro-combobox>
334
+ <!-- AURO-GENERATED-CONTENT:END -->
335
+ </auro-accordion>
336
+
337
+ #### Input Mode
338
+
339
+ You can manually set the input mode for the input.
340
+
341
+ <div class="exampleWrapper">
342
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/inputmode.html) -->
343
+ <!-- The below content is automatically added from ./../apiExamples/inputmode.html -->
344
+ <auro-combobox inputmode="numeric">
345
+ <span slot="bib.fullscreen.headline">Bib Header</span>
346
+ <span slot="label">Name</span>
347
+ <auro-menu>
348
+ <auro-menuoption value="1" id="option-0">1</auro-menuoption>
349
+ <auro-menuoption value="2" id="option-1">2</auro-menuoption>
350
+ <auro-menuoption value="3" id="option-2">3</auro-menuoption>
351
+ <auro-menuoption value="4" id="option-3">4</auro-menuoption>
352
+ <auro-menuoption value="5" id="option-4">5</auro-menuoption>
353
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
354
+ </auro-menu>
355
+ </auro-combobox>
356
+ <!-- AURO-GENERATED-CONTENT:END -->
357
+ </div>
358
+ <auro-accordion alignRight>
359
+ <span slot="trigger">See code</span>
360
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/inputmode.html) -->
361
+ <!-- The below code snippet is automatically added from ./../apiExamples/inputmode.html -->
362
+
363
+ ```html
364
+ <auro-combobox inputmode="numeric">
365
+ <span slot="bib.fullscreen.headline">Bib Header</span>
366
+ <span slot="label">Name</span>
367
+ <auro-menu>
368
+ <auro-menuoption value="1" id="option-0">1</auro-menuoption>
369
+ <auro-menuoption value="2" id="option-1">2</auro-menuoption>
370
+ <auro-menuoption value="3" id="option-2">3</auro-menuoption>
371
+ <auro-menuoption value="4" id="option-3">4</auro-menuoption>
372
+ <auro-menuoption value="5" id="option-4">5</auro-menuoption>
373
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
374
+ </auro-menu>
375
+ </auro-combobox>
376
+ ```
377
+ <!-- AURO-GENERATED-CONTENT:END -->
378
+ </auro-accordion>
379
+
380
+ #### noFilter
381
+
382
+ If set, combobox will not do suggestion filtering of the menuoptions. This option is useful when the `<auro-menuoption>` elements are being pre-filtered externally to combobox (e.g. using the citysearch API).
383
+
384
+ <div class="exampleWrapper">
385
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/noFilter.html) -->
386
+ <!-- The below content is automatically added from ./../apiExamples/noFilter.html -->
387
+ <auro-combobox noFilter>
388
+ <span slot="bib.fullscreen.headline">noFilter Combobox Header</span>
389
+ <span slot="label">Name</span>
390
+ <auro-menu>
391
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
392
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
393
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
394
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
395
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
396
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
397
+ </auro-menu>
398
+ </auro-combobox>
399
+ <!-- AURO-GENERATED-CONTENT:END -->
400
+ </div>
401
+ <auro-accordion alignRight>
402
+ <span slot="trigger">See code</span>
403
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/noFilter.html) -->
404
+ <!-- The below code snippet is automatically added from ./../apiExamples/noFilter.html -->
405
+
406
+ ```html
407
+ <auro-combobox noFilter>
408
+ <span slot="bib.fullscreen.headline">noFilter Combobox Header</span>
409
+ <span slot="label">Name</span>
410
+ <auro-menu>
411
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
412
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
413
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
414
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
415
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
416
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
417
+ </auro-menu>
418
+ </auro-combobox>
419
+ ```
420
+ <!-- AURO-GENERATED-CONTENT:END -->
421
+ </auro-accordion>
422
+
423
+ #### error
424
+
425
+ Sets a persistent error state (e.g. an error state returned from the server).
426
+
427
+ <div class="exampleWrapper">
428
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/error.html) -->
429
+ <!-- The below content is automatically added from ./../apiExamples/error.html -->
430
+ <auro-combobox error="Custom error message">
431
+ <span slot="bib.fullscreen.headline">Bib Header</span>
432
+ <span slot="label">Name</span>
433
+ <auro-menu>
434
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
435
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
436
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
437
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
438
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
439
+ <auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
440
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
441
+ </auro-menu>
442
+ </auro-combobox>
443
+ <!-- AURO-GENERATED-CONTENT:END -->
444
+ </div>
445
+ <div class="exampleWrapper--ondark" aria-hidden>
446
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkError.html) -->
447
+ <!-- The below content is automatically added from ./../apiExamples/onDarkError.html -->
448
+ <auro-combobox onDark error="Custom error message">
449
+ <span slot="bib.fullscreen.headline">Bib Header</span>
450
+ <span slot="label">Name</span>
451
+ <auro-menu>
452
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
453
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
454
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
455
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
456
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
457
+ <auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
458
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
459
+ </auro-menu>
460
+ </auro-combobox>
461
+ <!-- AURO-GENERATED-CONTENT:END -->
462
+ </div>
463
+ <auro-accordion alignRight>
464
+ <span slot="trigger">See code</span>
465
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/error.html) -->
466
+ <!-- The below code snippet is automatically added from ./../apiExamples/error.html -->
467
+
468
+ ```html
469
+ <auro-combobox error="Custom error message">
470
+ <span slot="bib.fullscreen.headline">Bib Header</span>
471
+ <span slot="label">Name</span>
472
+ <auro-menu>
473
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
474
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
475
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
476
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
477
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
478
+ <auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
479
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
480
+ </auro-menu>
481
+ </auro-combobox>
482
+ ```
483
+ <!-- AURO-GENERATED-CONTENT:END -->
484
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkError.html) -->
485
+ <!-- The below content is automatically added from ./../apiExamples/onDarkError.html -->
486
+ <auro-combobox onDark error="Custom error message">
487
+ <span slot="bib.fullscreen.headline">Bib Header</span>
488
+ <span slot="label">Name</span>
489
+ <auro-menu>
490
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
491
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
492
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
493
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
494
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
495
+ <auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
496
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
497
+ </auro-menu>
498
+ </auro-combobox>
499
+ <!-- AURO-GENERATED-CONTENT:END -->
500
+ </auro-accordion>
501
+
502
+ #### noValidate
503
+
504
+ Intended for use with the `required` attribute. If set, disables auto-validation on blur. By using these two attributes in combination the validation for required fields is still computed for forms but no validation messaging will be generated in the UI.
505
+
506
+ <div class="exampleWrapper">
507
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/noValidate.html) -->
508
+ <!-- The below content is automatically added from ./../apiExamples/noValidate.html -->
509
+ <auro-combobox required noValidate>
510
+ <span slot="bib.fullscreen.headline">noValidate Combobox Header</span>
511
+ <span slot="label">Name</span>
512
+ <auro-menu>
513
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
514
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
515
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
516
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
517
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
518
+ <auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
519
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
520
+ </auro-menu>
521
+ </auro-combobox>
522
+ <!-- AURO-GENERATED-CONTENT:END -->
523
+ </div>
524
+ <auro-accordion alignRight>
525
+ <span slot="trigger">See code</span>
526
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/noValidate.html) -->
527
+ <!-- The below code snippet is automatically added from ./../apiExamples/noValidate.html -->
528
+
529
+ ```html
530
+ <auro-combobox required noValidate>
531
+ <span slot="bib.fullscreen.headline">noValidate Combobox Header</span>
532
+ <span slot="label">Name</span>
533
+ <auro-menu>
534
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
535
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
536
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
537
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
538
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
539
+ <auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
540
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
541
+ </auro-menu>
542
+ </auro-combobox>
543
+ ```
544
+ <!-- AURO-GENERATED-CONTENT:END -->
545
+ </auro-accordion>
546
+
547
+ #### required
548
+
549
+ Populates the `required` attribute on the input. Used for client-side validation.
550
+
551
+ <div class="exampleWrapper">
552
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/required.html) -->
553
+ <!-- The below content is automatically added from ./../apiExamples/required.html -->
554
+ <auro-combobox required>
555
+ <span slot="bib.fullscreen.headline">Bib Header</span>
556
+ <span slot="label">Name</span>
557
+ <auro-menu>
558
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
559
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
560
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
561
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
562
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
563
+ <auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
564
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
565
+ </auro-menu>
566
+ </auro-combobox>
567
+ <!-- AURO-GENERATED-CONTENT:END -->
568
+ </div>
569
+ <auro-accordion alignRight>
570
+ <span slot="trigger">See code</span>
571
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/required.html) -->
572
+ <!-- The below code snippet is automatically added from ./../apiExamples/required.html -->
573
+
574
+ ```html
575
+ <auro-combobox required>
576
+ <span slot="bib.fullscreen.headline">Bib Header</span>
577
+ <span slot="label">Name</span>
578
+ <auro-menu>
579
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
580
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
581
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
582
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
583
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
584
+ <auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
585
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
586
+ </auro-menu>
587
+ </auro-combobox>
588
+ ```
589
+ <!-- AURO-GENERATED-CONTENT:END -->
590
+ </auro-accordion>
591
+
592
+ ### Custom optional label <a name="optionalLabel"></a>
593
+ The `<auro-combobox>` supports an `optionalLabel` slot, where users can can override the default `(optional)` notification text.
594
+
595
+ <div class="exampleWrapper">
596
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/optionalLabel.html) -->
597
+ <!-- The below content is automatically added from ./../apiExamples/optionalLabel.html -->
598
+ <auro-combobox>
599
+ <span slot="bib.fullscreen.headline">Bib Header</span>
600
+ <span slot="label">Name</span>
601
+ <span slot="optionalLabel" style="font-size: small; color: grey"> - optional</span>
602
+ <auro-menu>
603
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
604
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
605
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
606
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
607
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
608
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
609
+ </auro-menu>
610
+ </auro-combobox>
611
+ <!-- AURO-GENERATED-CONTENT:END -->
612
+ </div>
613
+ <auro-accordion alignRight>
614
+ <span slot="trigger">See code</span>
615
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/optionalLabel.html) -->
616
+ <!-- The below code snippet is automatically added from ./../apiExamples/optionalLabel.html -->
617
+
618
+ ```html
619
+ <auro-combobox>
620
+ <span slot="bib.fullscreen.headline">Bib Header</span>
621
+ <span slot="label">Name</span>
622
+ <span slot="optionalLabel" style="font-size: small; color: grey"> - optional</span>
623
+ <auro-menu>
624
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
625
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
626
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
627
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
628
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
629
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
630
+ </auro-menu>
631
+ </auro-combobox>
632
+ ```
633
+ <!-- AURO-GENERATED-CONTENT:END -->
634
+ </auro-accordion>
635
+
636
+ #### value
637
+
638
+ Use the `value` attribute to programmatically set the value of the combobox.
639
+
640
+ <div class="exampleWrapper">
641
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/programmaticValue.html) -->
642
+ <!-- The below content is automatically added from ./../apiExamples/programmaticValue.html -->
643
+ <auro-combobox>
644
+ <span slot="bib.fullscreen.headline">Bib Header</span>
645
+ <span slot="label">Name</span>
646
+ <auro-menu>
647
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
648
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
649
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
650
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
651
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
652
+ <auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
653
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
654
+ </auro-menu>
655
+ </auro-combobox>
656
+ <!-- AURO-GENERATED-CONTENT:END -->
657
+ </div>
658
+ <auro-accordion alignRight>
659
+ <span slot="trigger">See code</span>
660
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/programmaticValue.html) -->
661
+ <!-- The below code snippet is automatically added from ./../apiExamples/programmaticValue.html -->
662
+
663
+ ```html
664
+ <auro-combobox>
665
+ <span slot="bib.fullscreen.headline">Bib Header</span>
666
+ <span slot="label">Name</span>
667
+ <auro-menu>
668
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
669
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
670
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
671
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
672
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
673
+ <auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
674
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
675
+ </auro-menu>
676
+ </auro-combobox>
677
+ ```
678
+ <!-- AURO-GENERATED-CONTENT:END -->
679
+ </auro-accordion>
680
+
681
+ #### Dynamically Set Value
682
+
683
+ Use the `value` attribute in combination with another element to dynamically set the value of the combobox.
684
+
685
+ Can be used in the following ways:
686
+ * Preset the value of the combobox to valid menu option
687
+ * Set the value of the combobox to invalid menu option
688
+ * Reset the value of the combobox to undefined
689
+
690
+ Note: using a value that does not match a menu option will reset the combobox value to undefined.
691
+
692
+ <div class="exampleWrapper">
693
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/value.html) -->
694
+ <!-- The below content is automatically added from ./../apiExamples/value.html -->
695
+ <auro-button id="valueValidExampleBtn">Set to an existing option</auro-button>
696
+ <auro-button id="valueInvalidExampleBtn">Set to custom value</auro-button>
697
+ <auro-button id="valueUndefinedExampleBtn">Reset</auro-button>
698
+ <br/><br/>
699
+ <auro-combobox id="valueExample">
700
+ <span slot="bib.fullscreen.headline">Bib Header</span>
701
+ <span slot="label">Name</span>
702
+ <auro-menu>
703
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
704
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
705
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
706
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
707
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
708
+ <auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
709
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
710
+ </auro-menu>
711
+ </auro-combobox>
712
+ <!-- AURO-GENERATED-CONTENT:END -->
713
+ </div>
714
+ <auro-accordion alignRight>
715
+ <span slot="trigger">See code</span>
716
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/value.html) -->
717
+ <!-- The below code snippet is automatically added from ./../apiExamples/value.html -->
718
+
719
+ ```html
720
+ <auro-button id="valueValidExampleBtn">Set to an existing option</auro-button>
721
+ <auro-button id="valueInvalidExampleBtn">Set to custom value</auro-button>
722
+ <auro-button id="valueUndefinedExampleBtn">Reset</auro-button>
723
+ <br/><br/>
724
+ <auro-combobox id="valueExample">
725
+ <span slot="bib.fullscreen.headline">Bib Header</span>
726
+ <span slot="label">Name</span>
727
+ <auro-menu>
728
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
729
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
730
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
731
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
732
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
733
+ <auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
734
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
735
+ </auro-menu>
736
+ </auro-combobox>
737
+ ```
738
+ <!-- AURO-GENERATED-CONTENT:END -->
739
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/value.js) -->
740
+ <!-- The below code snippet is automatically added from ./../apiExamples/value.js -->
741
+
742
+ ```js
743
+ export function valueExample() {
744
+ const valueExample = document.querySelector('#valueExample');
745
+
746
+ document.querySelector('#valueValidExampleBtn').addEventListener('click', () => {
747
+ valueExample.value = 'Oranges';
748
+ });
749
+
750
+ document.querySelector('#valueInvalidExampleBtn').addEventListener('click', () => {
751
+ valueExample.value = 'Dragon Fruit';
752
+ });
753
+
754
+ document.querySelector('#valueUndefinedExampleBtn').addEventListener('click', () => {
755
+ valueExample.value = undefined;
756
+ });
757
+ }
758
+ ```
759
+ <!-- AURO-GENERATED-CONTENT:END -->
760
+ </auro-accordion>
761
+
762
+ #### type
763
+
764
+ When defined, the `auro-input` in the combobox trigger will use the defined `type` (e.g. `credit-card`).
765
+
766
+ <div class="exampleWrapper">
767
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/typeMonthDayYear.html) -->
768
+ <!-- The below content is automatically added from ./../apiExamples/typeMonthDayYear.html -->
769
+ <auro-combobox type="date" triggerIcon>
770
+ <span slot="bib.fullscreen.headline">Date Combobox Header</span>
771
+ <span slot="label">Date</span>
772
+ <auro-menu>
773
+ <auro-menuoption value="01/02/2020" id="option-date-0">
774
+ 01/02/2020
775
+ </auro-menuoption>
776
+ <auro-menuoption value="05/16/2022" id="option-date-1">
777
+ 05/16/2022
778
+ </auro-menuoption>
779
+ </auro-menu>
780
+ </auro-combobox>
781
+ <!-- AURO-GENERATED-CONTENT:END -->
782
+ </div>
783
+ <auro-accordion alignRight>
784
+ <span slot="trigger">See code</span>
785
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/typeMonthDayYear.html) -->
786
+ <!-- The below code snippet is automatically added from ./../apiExamples/typeMonthDayYear.html -->
787
+
788
+ ```html
789
+ <auro-combobox type="date" triggerIcon>
790
+ <span slot="bib.fullscreen.headline">Date Combobox Header</span>
791
+ <span slot="label">Date</span>
792
+ <auro-menu>
793
+ <auro-menuoption value="01/02/2020" id="option-date-0">
794
+ 01/02/2020
795
+ </auro-menuoption>
796
+ <auro-menuoption value="05/16/2022" id="option-date-1">
797
+ 05/16/2022
798
+ </auro-menuoption>
799
+ </auro-menu>
800
+ </auro-combobox>
801
+ ```
802
+ <!-- AURO-GENERATED-CONTENT:END -->
803
+ </auro-accordion>
804
+
805
+ ### Method Examples
806
+
807
+ #### focus
808
+
809
+ The focus method will apply focus state to the combobox input field.
810
+
811
+ <div class="exampleWrapper">
812
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/focus.html) -->
813
+ <!-- The below content is automatically added from ./../apiExamples/focus.html -->
814
+ <auro-button id="focusExampleBtn">Apply focus to combobox</auro-button>
815
+ <br /><br />
816
+ <auro-combobox id="focusExample">
817
+ <span slot="bib.fullscreen.headline">Bib Header</span>
818
+ <span slot="label">Name</span>
819
+ <auro-menu>
820
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
821
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
822
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
823
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
824
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
825
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
826
+ </auro-menu>
827
+ </auro-combobox>
828
+ <!-- AURO-GENERATED-CONTENT:END -->
829
+ </div>
830
+ <auro-accordion alignRight>
831
+ <span slot="trigger">See code</span>
832
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/focus.js) -->
833
+ <!-- The below code snippet is automatically added from ./../apiExamples/focus.js -->
834
+
835
+ ```js
836
+ export function focusExample() {
837
+ const focusExample = document.querySelector('#focusExample');
838
+ const focusExampleBtnElem = document.querySelector('#focusExampleBtn');
839
+
840
+ focusExampleBtnElem.addEventListener('click', () => {
841
+ focusExample.focus();
842
+ });
843
+ }
844
+ ```
845
+ <!-- AURO-GENERATED-CONTENT:END -->
846
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/focus.html) -->
847
+ <!-- The below code snippet is automatically added from ./../apiExamples/focus.html -->
848
+
849
+ ```html
850
+ <auro-button id="focusExampleBtn">Apply focus to combobox</auro-button>
851
+ <br /><br />
852
+ <auro-combobox id="focusExample">
853
+ <span slot="bib.fullscreen.headline">Bib Header</span>
854
+ <span slot="label">Name</span>
855
+ <auro-menu>
856
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
857
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
858
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
859
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
860
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
861
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
862
+ </auro-menu>
863
+ </auro-combobox>
864
+ ```
865
+ <!-- AURO-GENERATED-CONTENT:END -->
866
+ </auro-accordion>
867
+
868
+ #### reset
869
+
870
+ Use the `reset()` method to reset the `<auro-combobox>`'s `value` and `validity` state. Doing so will preserve all other attributes and properties.
871
+
872
+ <div class="exampleWrapper">
873
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/resetState.html) -->
874
+ <!-- The below content is automatically added from ./../apiExamples/resetState.html -->
875
+ <auro-button id="resetStateBtn">Reset</auro-button>
876
+ <br /><br />
877
+ <auro-combobox id="resetStateExample" required>
878
+ <span slot="bib.fullscreen.headline">Bib Header</span>
879
+ <span slot="label">Name</span>
880
+ <auro-menu>
881
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
882
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
883
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
884
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
885
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
886
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
887
+ </auro-menu>
888
+ </auro-combobox>
889
+ <!-- AURO-GENERATED-CONTENT:END -->
890
+ </div>
891
+ <auro-accordion alignRight>
892
+ <span slot="trigger">See code</span>
893
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/resetState.html) -->
894
+ <!-- The below code snippet is automatically added from ./../apiExamples/resetState.html -->
895
+
896
+ ```html
897
+ <auro-button id="resetStateBtn">Reset</auro-button>
898
+ <br /><br />
899
+ <auro-combobox id="resetStateExample" required>
900
+ <span slot="bib.fullscreen.headline">Bib Header</span>
901
+ <span slot="label">Name</span>
902
+ <auro-menu>
903
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
904
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
905
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
906
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
907
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
908
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
909
+ </auro-menu>
910
+ </auro-combobox>
911
+ ```
912
+ <!-- AURO-GENERATED-CONTENT:END -->
913
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/resetState.js) -->
914
+ <!-- The below code snippet is automatically added from ./../apiExamples/resetState.js -->
915
+
916
+ ```js
917
+ export function resetStateExample() {
918
+ const elem = document.querySelector('#resetStateExample');
919
+
920
+ document.querySelector('#resetStateBtn').addEventListener('click', () => {
921
+ elem.reset();
922
+ });
923
+ }
924
+ ```
925
+ <!-- AURO-GENERATED-CONTENT:END -->
926
+ </auro-accordion>
927
+
928
+ ### Slot Examples
929
+
930
+ #### helpText
931
+
932
+ Sets the help text displayed below the trigger. The `helpText` slot can be used to provide additional context for the combobox. When using the `error` property, the `helpText` slot can be used to describe the error.
933
+
934
+ <div class="exampleWrapper">
935
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/helpText.html) -->
936
+ <!-- The below content is automatically added from ./../apiExamples/helpText.html -->
937
+ <auro-combobox>
938
+ <span slot="bib.fullscreen.headline">Bib Header</span>
939
+ <span slot="label">Name</span>
940
+ <span slot="helpText">Custom help text</span>
941
+ <auro-menu>
942
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
943
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
944
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
945
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
946
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
947
+ <auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
948
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
949
+ </auro-menu>
950
+ </auro-combobox>
951
+ <!-- AURO-GENERATED-CONTENT:END -->
952
+ </div>
953
+ <auro-accordion alignRight>
954
+ <span slot="trigger">See code</span>
955
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/helpText.html) -->
956
+ <!-- The below code snippet is automatically added from ./../apiExamples/helpText.html -->
957
+
958
+ ```html
959
+ <auro-combobox>
960
+ <span slot="bib.fullscreen.headline">Bib Header</span>
961
+ <span slot="label">Name</span>
962
+ <span slot="helpText">Custom help text</span>
963
+ <auro-menu>
964
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
965
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
966
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
967
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
968
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
969
+ <auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
970
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
971
+ </auro-menu>
972
+ </auro-combobox>
973
+ ```
974
+ <!-- AURO-GENERATED-CONTENT:END -->
975
+ </auro-accordion>
976
+
977
+ #### Loading<a name="loading"></a>
978
+ While content is loading, the menu can either remain empty or display a loading placeholder
979
+
980
+ <div class="exampleWrapper">
981
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/loading.html) -->
982
+ <!-- The below content is automatically added from ./../apiExamples/loading.html -->
983
+ <auro-combobox id="loadingExample">
984
+ <span slot="bib.fullscreen.headline">Loading Combobox Header</span>
985
+ <span slot="label">Please select a preference</span>
986
+ <auro-menu id="loadingExampleComboboxMenu">
987
+ <auro-loader slot="loadingIcon" orbit xs></auro-loader><span slot="loadingText">Loading...</span>
988
+ </auro-menu>
989
+ </auro-combobox>
990
+ <!-- AURO-GENERATED-CONTENT:END -->
991
+ </div>
992
+ <auro-accordion alignRight>
993
+ <span slot="trigger">See code</span>
994
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/loading.js) -->
995
+ <!-- The below code snippet is automatically added from ./../apiExamples/loading.js -->
996
+
997
+ ```js
998
+ export function auroMenuLoadingExample() {
999
+ const combobox = document.querySelector("#loadingExample");
1000
+ const menu = document.querySelector("#loadingExampleComboboxMenu");
1001
+
1002
+ const emptyMenu = () => {
1003
+ const menuoptions = menu.querySelectorAll('auro-menuoption');
1004
+ menuoptions.forEach(mo => menu.removeChild(mo));
1005
+ }
1006
+
1007
+ const fillMenu = () => {
1008
+ menu.innerHTML += `
1009
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
1010
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
1011
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
1012
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
1013
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
1014
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
1015
+ `;
1016
+ }
1017
+
1018
+ const load = () => {
1019
+ clearTimeout(load.id);
1020
+ emptyMenu();
1021
+ menu.setAttribute('loading', 'loading');
1022
+ load.id = setTimeout(() => {
1023
+ menu.removeAttribute('loading');
1024
+ fillMenu();
1025
+ }, 1000);
1026
+
1027
+ }
1028
+
1029
+ combobox.addEventListener("input", (e) => {
1030
+ if (e.target.value && e.target.value !== e.target.optionSelected?.textContent) {
1031
+ load();
1032
+ }
1033
+ });
1034
+ }
1035
+ ```
1036
+ <!-- AURO-GENERATED-CONTENT:END -->
1037
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/loading.html) -->
1038
+ <!-- The below code snippet is automatically added from ./../apiExamples/loading.html -->
1039
+
1040
+ ```html
1041
+ <auro-combobox id="loadingExample">
1042
+ <span slot="bib.fullscreen.headline">Loading Combobox Header</span>
1043
+ <span slot="label">Please select a preference</span>
1044
+ <auro-menu id="loadingExampleComboboxMenu">
1045
+ <auro-loader slot="loadingIcon" orbit xs></auro-loader><span slot="loadingText">Loading...</span>
1046
+ </auro-menu>
1047
+ </auro-combobox>
1048
+ ```
1049
+ <!-- AURO-GENERATED-CONTENT:END -->
1050
+ </auro-accordion>
1051
+
1052
+ ### Customized bib position
1053
+ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlacement` attributes.
1054
+
1055
+ - `placement` specifies the preferred position where the bib should appear relative to the trigger.
1056
+ - `offset` sets the distance between the trigger and the bib.
1057
+ - When `autoPlacement` is enabled, smart positioning logic is applied to determine the best placement for the bib. If all sides have sufficient space, the bib will appear in the position specified by `placement`.
1058
+ - Unless `noFlip` is enabled, if there isn't enough space for the preferred `placement`, the bib will automatically flip to an alternative position.
1059
+
1060
+ <div class="exampleWrapper">
1061
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/floaterConfig.html) -->
1062
+ <!-- The below content is automatically added from ./../apiExamples/floaterConfig.html -->
1063
+ <div style="width: 350px">
1064
+ <auro-combobox offset="20" noFlip placement="bottom-end">
1065
+ <span slot="bib.fullscreen.headline">Bib Header</span>
1066
+ <span slot="label">Label</span>
1067
+ <span slot="helpText">bottom-end bib with 20px offset and noFlip</span>
1068
+ <auro-menu>
1069
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
1070
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
1071
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
1072
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
1073
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
1074
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
1075
+ </auro-menu>
1076
+ </auro-combobox>
1077
+ <auro-combobox offset="20" placement="bottom-end">
1078
+ <span slot="bib.fullscreen.headline">Bib Header</span>
1079
+ <span slot="label">Label</span>
1080
+ <span slot="helpText">bottom-end bib with 20px offset and flip</span>
1081
+ <auro-menu>
1082
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
1083
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
1084
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
1085
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
1086
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
1087
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
1088
+ </auro-menu>
1089
+ </auro-combobox>
1090
+ <auro-combobox offset="20" noFlip placement="right" autoPlacement>
1091
+ <span slot="bib.fullscreen.headline">Bib Header</span>
1092
+ <span slot="label">Label</span>
1093
+ <span slot="helpText">right bib with 20px offset, noFlip and autoPlacement</span>
1094
+ <auro-menu>
1095
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
1096
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
1097
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
1098
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
1099
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
1100
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
1101
+ </auro-menu>
1102
+ </auro-combobox>
1103
+ </div>
1104
+ <!-- AURO-GENERATED-CONTENT:END -->
1105
+ </div>
1106
+ <auro-accordion alignRight>
1107
+ <span slot="trigger">See code</span>
1108
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/floaterConfig.html) -->
1109
+ <!-- The below code snippet is automatically added from ./../apiExamples/floaterConfig.html -->
1110
+
1111
+ ```html
1112
+ <div style="width: 350px">
1113
+ <auro-combobox offset="20" noFlip placement="bottom-end">
1114
+ <span slot="bib.fullscreen.headline">Bib Header</span>
1115
+ <span slot="label">Label</span>
1116
+ <span slot="helpText">bottom-end bib with 20px offset and noFlip</span>
1117
+ <auro-menu>
1118
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
1119
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
1120
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
1121
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
1122
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
1123
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
1124
+ </auro-menu>
1125
+ </auro-combobox>
1126
+ <auro-combobox offset="20" placement="bottom-end">
1127
+ <span slot="bib.fullscreen.headline">Bib Header</span>
1128
+ <span slot="label">Label</span>
1129
+ <span slot="helpText">bottom-end bib with 20px offset and flip</span>
1130
+ <auro-menu>
1131
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
1132
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
1133
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
1134
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
1135
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
1136
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
1137
+ </auro-menu>
1138
+ </auro-combobox>
1139
+ <auro-combobox offset="20" noFlip placement="right" autoPlacement>
1140
+ <span slot="bib.fullscreen.headline">Bib Header</span>
1141
+ <span slot="label">Label</span>
1142
+ <span slot="helpText">right bib with 20px offset, noFlip and autoPlacement</span>
1143
+ <auro-menu>
1144
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
1145
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
1146
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
1147
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
1148
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
1149
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
1150
+ </auro-menu>
1151
+ </auro-combobox>
1152
+ </div>
1153
+ ```
1154
+ <!-- AURO-GENERATED-CONTENT:END -->
1155
+ </auro-accordion>
1156
+
1157
+ ### Dropdown with fullscreen bib
1158
+
1159
+ You can make the dropdown open in fullscreen at a specific breakpoint by setting `fullscreenBreakpoint`.
1160
+
1161
+ The default value of `fullscreenBreakpoint` is `sm`.
1162
+
1163
+ Breakpoint token can be found [here](https://auro.alaskaair.com/getting-started/developers/design-tokens)
1164
+
1165
+ To support fullcreen bib, setting `bib.fullscreen.headline` is **STRONGLY RECOMMENDED**.
1166
+
1167
+ <div class="exampleWrapper">
1168
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/fullscreenBreakpoint.html) -->
1169
+ <!-- The below content is automatically added from ./../apiExamples/fullscreenBreakpoint.html -->
1170
+ <auro-combobox fullscreenBreakpoint="lg">
1171
+ <span slot="bib.fullscreen.headline">Bib Header</span>
1172
+ <span slot="label">Name</span>
1173
+ <auro-menu>
1174
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
1175
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
1176
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
1177
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
1178
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
1179
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
1180
+ </auro-menu>
1181
+ </auro-combobox>
1182
+ <!-- AURO-GENERATED-CONTENT:END -->
1183
+ </div>
1184
+ <auro-accordion alignRight>
1185
+ <span slot="trigger">See code</span>
1186
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/fullscreenBreakpoint.html) -->
1187
+ <!-- The below code snippet is automatically added from ./../apiExamples/fullscreenBreakpoint.html -->
1188
+
1189
+ ```html
1190
+ <auro-combobox fullscreenBreakpoint="lg">
1191
+ <span slot="bib.fullscreen.headline">Bib Header</span>
1192
+ <span slot="label">Name</span>
1193
+ <auro-menu>
1194
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
1195
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
1196
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
1197
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
1198
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
1199
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
1200
+ </auro-menu>
1201
+ </auro-combobox>
1202
+ ```
1203
+ <!-- AURO-GENERATED-CONTENT:END -->
1204
+ </auro-accordion>
1205
+
1206
+ #### in Dialog
1207
+
1208
+ The component can be in a dialog.
1209
+
1210
+ <div class="exampleWrapper">
1211
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/inDialog.html) -->
1212
+ <!-- The below content is automatically added from ./../apiExamples/inDialog.html -->
1213
+ <div>
1214
+ <auro-button id="combobox-dialog-opener">Combobox in Dialog</auro-button>
1215
+ <auro-dialog id="combobox-dialog">
1216
+ <span slot="header">Combobox in Dialog</span>
1217
+ <div slot="content">
1218
+ <auro-combobox id="focusExample">
1219
+ <span slot="bib.fullscreen.headline">Bib Header</span>
1220
+ <span slot="label">Name</span>
1221
+ <auro-menu>
1222
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
1223
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
1224
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
1225
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
1226
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
1227
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
1228
+ </auro-menu>
1229
+ </auro-combobox>
1230
+ </div>
1231
+ </auro-dialog>
1232
+ </div>
1233
+ <!-- AURO-GENERATED-CONTENT:END -->
1234
+ </div>
1235
+ <auro-accordion alignRight>
1236
+ <span slot="trigger">See code</span>
1237
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/inDialog.html) -->
1238
+ <!-- The below code snippet is automatically added from ./../apiExamples/inDialog.html -->
1239
+
1240
+ ```html
1241
+ <div>
1242
+ <auro-button id="combobox-dialog-opener">Combobox in Dialog</auro-button>
1243
+ <auro-dialog id="combobox-dialog">
1244
+ <span slot="header">Combobox in Dialog</span>
1245
+ <div slot="content">
1246
+ <auro-combobox id="focusExample">
1247
+ <span slot="bib.fullscreen.headline">Bib Header</span>
1248
+ <span slot="label">Name</span>
1249
+ <auro-menu>
1250
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
1251
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
1252
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
1253
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
1254
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
1255
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
1256
+ </auro-menu>
1257
+ </auro-combobox>
1258
+ </div>
1259
+ </auro-dialog>
1260
+ </div>
1261
+ ```
1262
+ <!-- AURO-GENERATED-CONTENT:END -->
1263
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/inDialog.js) -->
1264
+ <!-- The below code snippet is automatically added from ./../apiExamples/inDialog.js -->
1265
+
1266
+ ```js
1267
+ export function inDialogExample() {
1268
+ document.querySelector("#combobox-dialog-opener").addEventListener("click", () => {
1269
+ const dialog = document.querySelector("#combobox-dialog");
1270
+ dialog.open = true;
1271
+ });
1272
+ };
1273
+ ```
1274
+ <!-- AURO-GENERATED-CONTENT:END -->
1275
+ </auro-accordion>
1276
+
1277
+ #### Custom display value
1278
+
1279
+ You can fully customize how selected values appear by using the `displayValue` slot. This slot allows you to pass in any HTML content. Only the `snowflake` and `emphasized` layouts are supported.
1280
+
1281
+ <div class="exampleWrapper--ondark">
1282
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/displayValueSlot.html) -->
1283
+ <!-- The below content is automatically added from ./../apiExamples/displayValueSlot.html -->
1284
+ <auro-combobox layout="snowflake" shape="snowflake" size="xl" ondark value="Apples">
1285
+ <span slot="bib.fullscreen.headline">Bib Header</span>
1286
+ <span slot="label">Name</span>
1287
+ <auro-menu>
1288
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
1289
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
1290
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
1291
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
1292
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
1293
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
1294
+ </auro-menu>
1295
+ <div slot="displayValue">
1296
+ <div class="mainText">Custom display value</div>
1297
+ <div class="subText">Any html can be used</div>
1298
+ </div>
1299
+ </auro-combobox>
1300
+ <!-- AURO-GENERATED-CONTENT:END -->
1301
+ </div>
1302
+ <auro-accordion alignRight>
1303
+ <span slot="trigger">See code</span>
1304
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/displayValueSlot.html) -->
1305
+ <!-- The below code snippet is automatically added from ./../apiExamples/displayValueSlot.html -->
1306
+
1307
+ ```html
1308
+ <auro-combobox layout="snowflake" shape="snowflake" size="xl" ondark value="Apples">
1309
+ <span slot="bib.fullscreen.headline">Bib Header</span>
1310
+ <span slot="label">Name</span>
1311
+ <auro-menu>
1312
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
1313
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
1314
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
1315
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
1316
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
1317
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
1318
+ </auro-menu>
1319
+ <div slot="displayValue">
1320
+ <div class="mainText">Custom display value</div>
1321
+ <div class="subText">Any html can be used</div>
1322
+ </div>
1323
+ </auro-combobox>
1324
+ ```
1325
+ <!-- AURO-GENERATED-CONTENT:END -->
1326
+ </auro-accordion>