Currency input

Currency input field for use with CurrenciesCollection

Contents

Budget Type

In order to show the budget type selector, budgetTypeControl must be provided.

If the budget type is hourly, 'per hour' will be appended to the displayed budget. On mobile, '/hr' will be appended instead.

If the budget type is fixed, the budget will be displayed as a fixed amount.

We can also hide the budget type selector by setting showBudgetTypeSelector to false.

Inputs in Budget type
budgetTypeControl ?: FormControl<ProjectTypeApi>
showBudgetTypeSelector ?: boolean = true
Also set in this example
currencyControl : FormControl<Currency>
label : string
budgetControl ?: FormControl<number | BudgetOption>
budgetOptions ?: readonly BudgetOption[]
currencyOptions ?: readonly CurrencyOption[] = []