Merge pull request 'Tenant Creation – Error banner for plan selection/currency should not be shown' (#439) from Kartik_Bug#1370 into Organization_Management

Reviewed-on: #439
Merged
This commit is contained in:
pramod.mahajan 2025-09-27 09:34:48 +00:00
commit 96eb030457
2 changed files with 2 additions and 2 deletions

View File

@ -224,7 +224,7 @@ const SubScription = ({ onSubmitSubScription, onNext }) => {
</div>
{Object.keys(errors).length > 0 && (
<div class="alert alert-danger" role="alert">
<div role="alert">
{Object.entries(errors).map(([key, error]) => (
<div key={key} className="danger-text">
{error?.message}

View File

@ -59,7 +59,7 @@ export const tenantDefaultValues = {
export const getSubscriptionSchema = (minUsers) =>
z.object({
planId: z.string().min(1, { message: "Please select Plan" }),
planId: z.string().min(1, { message: "Please select a plan to continue" }),
currencyId: z.string().uuid("Invalid currency"),
maxUsers: z
.number({ invalid_type_error: "Must be a number" })