Files
mixtape/zero.Backoffice.UI/app/editor/fields/password.vue
T

22 lines
498 B
Vue
Raw Normal View History

2021-12-09 10:51:10 +01:00
<template>
2022-01-14 11:51:38 +01:00
<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" />
2021-12-09 10:51:10 +01:00
</template>
<script>
export default {
props: {
2022-01-14 11:51:38 +01:00
value: String,
config: Object,
2021-12-09 10:51:10 +01:00
maxLength: {
type: Number,
default: null
},
placeholder: {
2022-01-14 11:51:38 +01:00
type: [String, Function],
2021-12-09 10:51:10 +01:00
default: null
2022-01-14 11:51:38 +01:00
}
2021-12-09 10:51:10 +01:00
}
}
</script>