Skip to content

Commit

Permalink
Fixed Issue #1785
Browse files Browse the repository at this point in the history
  • Loading branch information
amit-webkul committed Dec 27, 2024
1 parent 1f90616 commit d8fe8c8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,15 @@ class="primary-button"
:custom-attributes="app('Webkul\Attribute\Repositories\AttributeRepository')->findWhere([
'entity_type' => 'persons',
])"
:custom-validations="[
'name' => [
'min:2',
'max:100',
],
'job_title' => [
'max:100',
],
]"
/>

{!! view_render_event('admin.persons.create.form_controls.after') !!}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@ class="primary-button"
:custom-attributes="app('Webkul\Attribute\Repositories\AttributeRepository')->findWhere([
'entity_type' => 'persons',
])"
:custom-validations="[
'name' => [
'min:2',
'max:100',
],
'job_title' => [
'max:100',
],
]"
:entity="$person"
/>

Expand Down

0 comments on commit d8fe8c8

Please sign in to comment.