Skip to content

Commit 8eee661

Browse files
authored
Merge pull request #4783 from Laravel-Backpack/password-field-default-value-support
Add password field support for default value
2 parents 786b023 + 9236a3d commit 8eee661

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/resources/views/crud/fields/password.blade.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<input
1414
type="password"
1515
name="{{ $field['name'] }}"
16+
value="{{ $field['value'] ?? $field['default'] ?? '' }}"
1617
@include('crud::fields.inc.attributes')
1718
>
1819

0 commit comments

Comments
 (0)