Skip to content

make the form work with other infra types - #667

Open
Pete-Y-CS wants to merge 6 commits into
infrastructure-taxonomy-crossingsfrom
infrastructure-taxonomy-crossings-more
Open

Pete-Y-CS wants to merge 6 commits into
infrastructure-taxonomy-crossingsfrom
infrastructure-taxonomy-crossings-more

Conversation

@Pete-Y-CS

Copy link
Copy Markdown
Collaborator

No description provided.

@Pete-Y-CS
Pete-Y-CS force-pushed the infrastructure-taxonomy-crossings-more branch from 491190c to 5670795 Compare July 28, 2026 13:31
@Pete-Y-CS
Pete-Y-CS force-pushed the infrastructure-taxonomy-crossings-more branch from 5670795 to 4a96a07 Compare July 28, 2026 13:32
const intervention_type_options: InfrastructureSubtype[] =
intervention.intervention_type !== ""
? infrastructureFormInformation[intervention.intervention_type].types
$: intervention_type_options = getInterventionTypeOptions(

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is important so that the options in the component change whenever a new intervention type is selected

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.

1 participant