@@ -29,44 +29,41 @@ <h2 id="file-selector">File Selector</h2>
2929 < em class ="hxSubBody " v-if ="_variant.default "> (default)</ em >
3030 </ label >
3131 </ fieldset >
32- < p >
33- < label for ="inputIcon "> Icon</ label >
34- < input id ="inputIcon " class ="hxTextCtrl " v-model ="icon " />
35- </ p >
32+ < fieldset >
33+ < legend > Icon</ legend >
34+ < label v-for ="_icon in icons ">
35+ < input
36+ :value ="_icon "
37+ name ="icon "
38+ type ="radio "
39+ v-model ="icon "
40+ />
41+ < span v-text ="_icon "> </ span >
42+ </ label >
43+ </ fieldset >
3644 < p >
3745 < label for ="inputLabel "> Label</ label >
3846 < input id ="inputLabel " class ="hxTextCtrl " v-model ="label " />
3947 </ p >
48+ < fieldset >
49+ < legend > Options</ legend >
50+ < label >
51+ < input type ="checkbox " v-model ="isMultiple ">
52+ Multiple
53+ </ label >
54+ </ fieldset >
4055 </ form >
4156 </ header >
4257 < div >
4358 < hx-file-input
44- :class ="classes "
59+ :class ="variant.val "
4560 :icon ="icon "
4661 :label ="label ">
47- < input type ="file " />
62+ < input type ="file " :multiple =" isMultiple " />
4863 </ hx-file-input >
4964 </ div >
5065 < footer >
51- < template v-if ="classes === '' ">
52- {% code 'html' %}{% raw %}
53- < hx-file-input
54- icon ="{{icon}} "
55- label ="{{label}} ">
56- < input type ="file " />
57- </ hx-file-input > {% endraw %}
58- {% endcode %}
59- </ template >
60- < template v-else >
61- {% code 'html' %}{% raw %}
62- < hx-file-input
63- class ="{{classes}} "
64- icon ="{{icon}} "
65- label ="{{label}} ">
66- < input type ="file " />
67- </ hx-file-input > {% endraw %}
68- {% endcode %}
69- </ template >
66+ < pre > < code v-text ="snippet "> </ code > </ pre >
7067 </ footer >
7168 </ div >
7269 </ section >
@@ -93,8 +90,11 @@ <h2 id="file-tile">File Tile</h2>
9390 </ label >
9491 </ fieldset >
9592 < p >
96- < label for ="txtIcon "> Icon</ label >
97- < input id ="txtIcon " class ="hxTextCtrl " v-model ="icon " />
93+ < label for ="selIcon "> Icon</ label >
94+ < select id ="selIcon " v-model ="icon ">
95+ < option v-for ="_icon in icons " :value ="_icon " v-text ="_icon ">
96+ </ option >
97+ </ select >
9898 </ p >
9999 < p >
100100 < label for ="txtName "> Name</ label >
0 commit comments