aboutsummaryrefslogtreecommitdiffstats
path: root/components/dropdown/dropdown-requiered.html
blob: 4fd555d0f3f36690873b750128b0c73221b3f588 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<div class="sdc-dropdown">
    <label class="sdc-dropdown__label">DropDown example</label>
    <button class="sdc-dropdown__header">Please choose option</button>
    <ul class="sdc-dropdown__options-list">
        <li class="sdc-dropdown__option selected">First Option</li>
        <li class="sdc-dropdown__option">Second Option</li>
        <li class="sdc-dropdown__option">Third Option</li>
    </ul>
    <div class="sdc-dropdown__error">
        <!--[Will be replaced by the correct error icon]-->
        <svg class="svg-icon __exclamationTriangleFull" version="1.1" id="exclamation-triangle-full_icon" x="0px" y="0px" viewBox="0 0 19.9 18" xml:space="preserve"><path class="sdc-dropdown__error--icon" d="M19.6,14.3L12,1.3c-0.3-0.6-0.8-1-1.4-1.2C10-0.1,9.3,0,8.7,0.3c-0.4,0.3-0.6,0.6-0.9,1l-7.6,13c-0.3,0.5-0.4,1.2-0.2,1.8
	c0.2,0.6,0.6,1.1,1.1,1.4C1.6,17.8,1.9,18,2.4,18h15.1c1.3,0,2.4-1.1,2.4-2.4C19.9,15.1,19.8,14.7,19.6,14.3z M10.5,14.2
	c0,0.3-0.2,0.5-0.5,0.5s-0.5-0.2-0.5-0.5l0-1c0-0.3,0.2-0.5,0.5-0.5s0.5,0.2,0.5,0.5L10.5,14.2z M10.5,9.9c0,0.3-0.2,0.5-0.5,0.5
	s-0.5-0.2-0.5-0.5l0-5.2c0-0.3,0.2-0.5,0.5-0.5s0.5,0.2,0.5,0.5L10.5,9.9z"></path></svg>
        Error message!
    </div>
</div>