Commit b51133af authored by janis.streib's avatar janis.streib 🦉
Browse files

FIXUP

parent c718d4e6
......@@ -8,10 +8,11 @@
type="number"
:name="attribute_name" :disabled="input_reducer instanceof Boolean && !input_reducer"
></b-form-input>
<input type="hidden" :name="attribute_name" v-else-if="object_attribute.data_type=='boolean'" :value="false"/>
<b-checkbox :checked="attribute_preset || false" :name="attribute_name"
v-else-if="object_attribute.data_type=='boolean'"
:disabled="input_reducer instanceof Boolean && !input_reducer"></b-checkbox>
<b-input-group v-else-if="object_attribute.data_type=='boolean'">
<input type="hidden" :name="attribute_name" :value="false"/>
<b-checkbox :checked="attribute_preset || false" :name="attribute_name"
:disabled="input_reducer instanceof Boolean && !input_reducer"></b-checkbox>
</b-input-group>
<b-form-select :name="attribute_name" v-else-if="input_reducer instanceof Object" v-model="attribute_preset">
<template v-slot:first>
<b-form-select-option :value="null" disabled>-- Auswahl treffen --</b-form-select-option>
......@@ -43,7 +44,7 @@ export default {
},
input_reducer: {
type: Object,
default () {
default() {
return null
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment