Improved the OrganizationCombobox.

This commit is contained in:
charlesgauthereau
2025-11-22 18:45:24 +01:00
parent fe5d8bae1b
commit e886bdd58d
4 changed files with 84 additions and 116 deletions
@@ -52,7 +52,10 @@ export function CreateOrganizationModal({open, onOpenChange, onSuccess}: createO
});
return (
<Dialog open={open} onOpenChange={onOpenChange}>
<Dialog open={open} onOpenChange={(state) => {
form.reset()
onOpenChange(state)
}}>
<DialogContent className="sm:max-w-[425px] w-full">
<DialogHeader>
<DialogTitle>Create a new organization</DialogTitle>