Add object level form to role creation (#12826)

## Context
- Add object-level form to role creation
- Add isSaving props for save button isLoading state
<img width="594" alt="Screenshot 2025-06-24 at 15 03 59"
src="https://github.com/user-attachments/assets/77d9d399-4e1a-4e35-be45-c19100ef06c1"
/>

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Weiko
2025-06-24 15:15:37 +02:00
committed by GitHub
parent 540f3ffd67
commit 8cf7649a4c
9 changed files with 190 additions and 162 deletions

View File

@ -67,6 +67,7 @@ export class RoleService {
await this.validateRoleInputOrThrow({ input, workspaceId });
const role = await this.roleRepository.save({
id: input.id,
label: input.label,
description: input.description,
icon: input.icon,