Skip to content

Commit

Permalink
refactor(combo-box): nest warning icons
Browse files Browse the repository at this point in the history
  • Loading branch information
emyarod committed Apr 1, 2019
1 parent 27acda5 commit b7e213b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/combo-box/combo-box.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@
<div
class="{{@root.prefix}}--combo-box {{@root.prefix}}--list-box{{#if inline}} {{@root.prefix}}--list-box--inline{{/if}}{{#if light}} {{@root.prefix}}--list-box--light{{/if}}"
data-invalid>
{{ carbon-icon 'WarningFilled16' class=(add @root.prefix '--list-box__invalid-icon')}}
<div role="button" class="{{@root.prefix}}--list-box__field" tabindex="0" aria-label="open menu"
aria-expanded="false" aria-haspopup="true">
<input class="{{@root.prefix}}--text-input" role="combobox" aria-autocomplete="list" aria-expanded="false"
autocomplete="off" value="" id="downshift-input-2" placeholder="Filter...">
{{ carbon-icon 'WarningFilled16' class=(add @root.prefix '--list-box__invalid-icon')}}
<div class="{{@root.prefix}}--list-box__menu-icon">
{{ carbon-icon 'ChevronDown16' aria-label='Open menu' }}
</div>
Expand Down

0 comments on commit b7e213b

Please sign in to comment.