feat: transform registration payload to include subscription plan ID and update select options

This commit is contained in:
Ardeman
2025-03-02 01:36:19 +08:00
parent adba58780a
commit 02e2ed3f52
2 changed files with 13 additions and 5 deletions
+4 -4
View File
@@ -53,12 +53,12 @@ export const Select = <TFormValues extends Record<string, unknown>>(
{...rest}
>
<option value="">{placeholder}</option>
{options?.map((option) => (
{options?.map(({ id, name }) => (
<option
key={option.id}
value={option.code}
key={id}
value={id}
>
{option.name}
{name}
</option>
))}
</HeadlessSelect>