<template>
    <input v-if="attributes.disabled" disabled class="uk-input" />

    <input v-else v-model="value" type="password" class="uk-input" v-bind="attributes" />
</template>

<script>
import fields from '@yootheme/fields';

export default {
    name: 'Password',

    extends: fields.components.FieldText,
};
</script>
