feat: transform registration payload to include subscription plan ID and update select options
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user