User Interface medium complexity mobile
0
Dependencies
0
Dependents
1
Entities
0
Integrations

Description

Dropdown-based selection widget that enforces mutually exclusive expense type choices, preventing invalid combinations such as simultaneously claiming both kilometre allowance and a public transit ticket. Expense types are sourced from a Supabase configuration store to support per-organisation customisation.

Feature: Travel Reimbursement Registration

expense-type-selector-widget

Responsibilities

  • Render fixed dropdown choices for expense types sourced from Supabase config
  • Enforce mutual exclusivity rules between incompatible expense type combinations
  • Trigger conditional field rendering in parent wizard based on selected type
  • Display per-organisation available expense types only

Interfaces

loadExpenseTypes(orgId)
onTypeSelected(expenseType)
isTypeCompatible(typeA, typeB)
resetSelection()
getSelectedType()
setDisabledTypes(types)

Related Data Entities (1)

Data entities managed by this component