|
|
@@ -7,7 +7,7 @@
|
|
|
<span class="question">{{ element.text }}</span>
|
|
|
<span v-if="element.optional"> (Optional)</span>
|
|
|
<br>
|
|
|
- <LimitedTextField class="textfield" :highlight="highlight"></LimitedTextField>
|
|
|
+ <ApplicationInputSwitch class="textfield" :highlight="highlight" :type="element.type"></ApplicationInputSwitch>
|
|
|
<span class="hint">{{ element.hint }}</span>
|
|
|
</div>
|
|
|
<button @click="update">Create/Update</button>
|
|
|
@@ -17,7 +17,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
- import LimitedTextField from '../components/inputtypes/LimitedTextField.vue'
|
|
|
+ import ApplicationInputSwitch from '../components/ApplicationInputSwitch.vue'
|
|
|
|
|
|
export default {
|
|
|
data () {
|
|
|
@@ -44,7 +44,7 @@
|
|
|
},
|
|
|
},
|
|
|
components: {
|
|
|
- LimitedTextField,
|
|
|
+ ApplicationInputSwitch,
|
|
|
},
|
|
|
}
|
|
|
</script>
|