summaryrefslogtreecommitdiffstats
path: root/components/dropdown/dropdown-requiered.html
diff options
context:
space:
mode:
Diffstat (limited to 'components/dropdown/dropdown-requiered.html')
-rw-r--r--components/dropdown/dropdown-requiered.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/components/dropdown/dropdown-requiered.html b/components/dropdown/dropdown-requiered.html
new file mode 100644
index 0000000..4fd555d
--- /dev/null
+++ b/components/dropdown/dropdown-requiered.html
@@ -0,0 +1,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>
+