Skip to content

Conversation

@brionmario
Copy link
Member

Purpose

This pull request adds support for rendering dropdown fields in sign-up forms by introducing a new Select input type. The main changes include implementing the SelectInput component, updating the sign-up component factory to handle select fields, and modifying the transformer logic to convert dropdown-type inputs into the new select component.

Support for Select/Dropdown Inputs:

  • Added a new SelectInput component in SelectInput.tsx to render dropdown fields, mapping options from configuration and wiring up form state and error handling.
  • Updated SignUpOptionFactory.tsx to import and use SelectInput, and to render it when the component type is Select. [1] [2]

Transformer Logic Updates:

  • Modified the convertSimpleInputToComponent function in transformer.ts to handle inputs of type 'dropdown', converting them into a select component with appropriate configuration and options. [1] [2]

Release Note:

  • Added a changeset note indicating the addition of Select support for DROPDOWN types in the package. (.changeset/all-plants-teach.md)

Related Issues

Related PRs

  • N/A

Checklist

  • Followed the CONTRIBUTING guidelines.
  • Manual test round performed and verified.
  • Documentation provided. (Add links if there are any)
  • Unit tests provided. (Add links if there are any)

Security checks

@asgardeo-github-bot
Copy link

🦋 Changeset detected

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

@brionmario brionmario merged commit 5f5bf36 into asgardeo:main Nov 14, 2025
3 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants