Files
mixtape/zero.Web.UI/App/editor/fields/password.vue
T

28 lines
592 B
Vue
Raw Normal View History

2021-01-15 13:56:50 +01:00
<template>
2021-04-23 14:06:30 +02:00
<input :value="value" @input="$emit('input', $event.target.value)" type="password" class="ui-input" v-placeholder="{ placeholder, model: entity }" :maxlength="maxLength" :disabled="disabled" />
2021-01-15 13:56:50 +01:00
</template>
<script>
export default {
props: {
value: {
type: String,
default: null
},
maxLength: {
type: Number,
default: null
},
disabled: {
type: Boolean,
default: false
},
placeholder: {
type: String,
default: null
2021-04-23 14:06:30 +02:00
},
entity: Object
2021-01-15 13:56:50 +01:00
}
}
</script>