Change event of select option

Hi all,

Is there a way to invoke the change event of a form select option? (something similar to react onChange)

My requirement is that when I change the Jira project from the select option of projects it should invoke a rest API call to Jira API to collect the issue types of the selected project.

Looking at the documentation I don’t see any events for the Select component…
https://developer.atlassian.com/platform/forge/ui-kit-components/form/#select

<Form onSubmit={submit} submitButtonText="Get Recommendations">
        <Select label="Project" name="projectId" isRequired={true} >
          {projects.map((project) => {
            return (
              <Option
                defaultSelected={configuration.projectId == project.id}
                label={`${project.name} (${project.key})`}
                value={project.id}
              />
            );
          })}
        </Select>
        <Select label="Issue type" name="issueTypeId" isRequired={true}>
          {issueTypes.map((issueType) => {
            return (
              <Option
                defaultSelected={configuration.issueTypeId == issueType.id}
                label={issueType.name}
                value={issueType.id}
              />
            );
          })}
        </Select>
...
</Form>

Hi @JalalSordo,

You are right that this isn’t possible today and this request is currently tracked here: https://ecosystem.atlassian.net/browse/FRGE-73

The only alternative available is to use the Forge Custom UI.

Caterina