improve data passing for editor fields

This commit is contained in:
2020-09-10 11:57:19 +02:00
parent ea992d8fc4
commit 2064ef2ee1
5 changed files with 20 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
<template>
<div class="ui-box">
<input :value="value" @input="$emit('input', $event.target.value)" type="text" class="ui-input" v-localize:placeholder="" :maxlength="maxLength" />
<input :value="value" @input="$emit('input', $event.target.value)" type="text" class="ui-input" v-localize:placeholder="config.placeholder" :maxlength="maxLength" />
</div>
</template>
+1 -1
View File
@@ -1,5 +1,5 @@
<template>
<ui-toggle :value="value" @input="$emit('input', $event)" :disabled="disabled" />
<ui-toggle :value="value" @input="$emit('input', $event)" :disabled="disabled" :negative="config.negative || false" />
</template>