Skip to content

Commit

Permalink
Added validation for edit page as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
amit-webkul committed Dec 27, 2024
1 parent 1597371 commit 773f3ff
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,17 @@ class="primary-button"
:custom-attributes="app('Webkul\Attribute\Repositories\AttributeRepository')->findWhere([
'entity_type' => 'organizations',
])"
:custom-validations="[
'name' => [
'max:100',
],
'address' => [
'max:100',
],
'postcode' => [
'max:20',
],
]"
:entity="$organization"
/>

Expand Down

0 comments on commit 773f3ff

Please sign in to comment.