Skip to content

Commit

Permalink
fix: backported bagisto#10388
Browse files Browse the repository at this point in the history
  • Loading branch information
devansh-webkul committed Dec 17, 2024
1 parent 2a8409a commit 07f5ec1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public function store()
'name' => 'required',
'permission_type' => 'required',
'description' => 'required',
'permissions' => 'required',
]);

Event::dispatch('user.role.create.before');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ class="primary-button"
</x-admin::form.control-group>
<div v-if="permission_type == 'custom'">
<x-admin::form.control-group.error control-name="permissions" />
<x-admin::tree.view
input-type="checkbox"
value-field="key"
Expand Down

0 comments on commit 07f5ec1

Please sign in to comment.