Последняя версия с сервера прошлого разработчика
This commit is contained in:
25
nova/resources/js/components/Form/PasswordField.vue
Executable file
25
nova/resources/js/components/Form/PasswordField.vue
Executable file
@@ -0,0 +1,25 @@
|
||||
<template>
|
||||
<default-field :field="field" :errors="errors" :show-help-text="showHelpText">
|
||||
<template slot="field">
|
||||
<input
|
||||
:id="field.attribute"
|
||||
:dusk="field.attribute"
|
||||
type="password"
|
||||
v-model="value"
|
||||
class="w-full form-control form-input form-input-bordered"
|
||||
:class="errorClasses"
|
||||
:placeholder="field.name"
|
||||
autocomplete="new-password"
|
||||
:disabled="isReadonly"
|
||||
/>
|
||||
</template>
|
||||
</default-field>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { FormField, HandlesValidationErrors } from 'laravel-nova'
|
||||
|
||||
export default {
|
||||
mixins: [HandlesValidationErrors, FormField],
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user