Currency input

Currency input field for use with CurrenciesCollection

Contents

Default

On mobile, the country flag will be hidden. On tablet and desktop, the country flag will be displayed.

Inputs
currencyControl : FormControl<Currency>
label : string
backgroundColor ?: BackgroundColor = 'default'
budgetControl ?: FormControl<number | BudgetOption>
budgetOptions ?: readonly BudgetOption[]
budgetTypeControl ?: FormControl<ProjectTypeApi>
currencyFormat ?: CurrencyFormatOptions = { disableCode: true, }
currencyOptions ?: readonly CurrencyOption[] = []
enableCurrencyConversion ?: boolean = true
loading ?: boolean = false
maxVisibleOptions ?: number
showAllOptions ?: Partial<Record<CurrencySelector, boolean>>
showBudgetTypeSelector ?: boolean = true
showValidationError ?: boolean = true

When false, hides the budget error message and the error style, e.g. until a form is submitted

type ?: CurrencyInputType = 'dropdown'
viewportInset ?: ViewportInset