LT-253: Creating dynamic form components
This commit is contained in:
1 parent
88f737644f
commit
cb875b1913
72 files changed
+1169
-126
No files matched your search
@@ -0,0 +1,16 @@
|
||||
<template name="baseSelect">
|
||||
<select
|
||||
id="{{this.id}}"
|
||||
class="{{this.class}}"
|
||||
name="{{this.name}}"
|
||||
{{this.tagAttributes}}
|
||||
>
|
||||
{{>UI.contentBlock}}
|
||||
{{#each item in (reactive this.items)}}
|
||||
<option
|
||||
value="{{item.value}}"
|
||||
selected="{{#if eq item.value (reactive this.value)}}selected{{/if}}"
|
||||
>{{item.label}}</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
</template>
|
||||
Reference in new issue
Block a user