Files
mixtape/zero.Backoffice.UI/app/editor/fields/password.vue
T
2022-01-14 11:51:38 +01:00

22 lines
498 B
Vue

<template>
<input :value="value" @input="$emit('input', $event.target.value)" type="password" class="ui-input" v-placeholder="{ placeholder, model: config.model }" :maxlength="maxLength" :disabled="config.disabled" />
</template>
<script>
export default {
props: {
value: String,
config: Object,
maxLength: {
type: Number,
default: null
},
placeholder: {
type: [String, Function],
default: null
}
}
}
</script>