Commit 00e41ed6 authored by christianrhansen's avatar christianrhansen
Browse files

added buttons for mobile

parent 0a76fdec
Pipeline #16355 passed with stage
in 6 minutes and 17 seconds
......@@ -8,23 +8,28 @@
q-item-separator
q-item(
draggable="true",
@dragstart.native="event => {handleItemDragStart(event, item)}")
draggable="true",
@dragstart.native="event => {handleItemDragStart(event, item)}")
q-field(
:icon="typeToIconName(item.type)",
:helper="item.help",
:error="item.error",
:error-label="item.errorMessage",
style="width: 100%")
:icon="typeToIconName(item.type)",
:helper="item.help",
:error="item.error",
:error-label="item.errorMessage",
style="width: 100%")
q-input(
:float-label="item.label",
:type="item.inputType",
:min-rows="1",
:max-height="500",
:value="item.value",
:model="item.value",
@input="value => {handleItemChanged(value, item)}",
@change="value => {handleItemChanged(value, item)}")
:float-label="item.label",
:type="item.inputType",
:min-rows="1",
:max-height="500",
:value="item.value",
:model="item.value",
@input="value => {handleItemChanged(value, item)}",
@change="value => {handleItemChanged(value, item)}")
.mobile-only.text-center(v-if="item.value")
q-btn.bg-primary.text-white.q-mr-sm(@click="", flat, round)
q-icon(name="check")
q-btn.bg-dark.text-white(@click="item.value = undefined", flat, round)
q-icon(name="clear")
q-item-separator
</template>
......
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