Properties
BankAccountNumber-specific properties
| Type | Description | |
|---|---|---|
bankAccountType | string | (optional) The type of bank account number, used for label and formatting. Can be norwegianBban, swedishBban, swedishBankgiro, swedishPlusgiro, or iban. Defaults to norwegianBban. |
General properties
| Type | Description | |
|---|---|---|
value | string | (optional) Value for the value component. Will take precedence over the path value given in the data context. |
defaultValue | string | (optional) Default value for the value component. Will not take precedence over the path value given in the data context. |
label | string | (optional) Field label to show above the displayed value. |
labelSrOnly | boolean | (optional) Use true to make the label only readable by screen readers. |
help | object | (optional) Provide help content for the field using title and content as a string or React.ReactNode. Additionally, you can set open to true to display the inline help, set the breakout property to false to disable the breakout of the inline help content, set outset to false to display the help text inline (inset) instead of the default outset behavior, or use renderAs set to dialog to render the content in a Dialog (recommended for larger amounts of content). |
transformLabel | function | (optional) Transforms the label before it gets displayed. Receives the label as the first parameter. The second parameter is an object containing the convertJsxToString function. |
inheritLabel | boolean | (optional) Use true to inherit the label from a visible (rendered) field with the same path. |
inheritVisibility | boolean | (optional) Use true to inherit the visibility from a field with the same path. You can find more info in the Value section. |
showEmpty | boolean | (optional) Shows the value even if it is empty. |
placeholder | string | (optional) Text showing in place of the value if no value is given. |
path | string | (optional) JSON Pointer for where the data for this input is located in the source dataset. |
inline | boolean | (optional) For showing the value inline (not as a block element). |
maxWidth | "auto" "small" "medium" "large" | (optional) Use auto for no max-width (use browser default), small, medium or large for predefined standard max widths. Defaults to large. |
transformIn | function | (optional) Transforms the value before it's displayed in the value component. |
Space | string object | (optional) Spacing properties like top or bottom are supported. |
Translations
More info about translations can be found in the general localization and Eufemia Forms localization docs.
| Key | nb-NO | en-GB | sv-SE | da-DK |
|---|---|---|---|---|
BankAccountNumber.label | Bankkonto | Bank account | Bankkonto | Bankkonto |
BankAccountNumber.labelSwedishBban | Svenskt kontonummer | Swedish account number | Svenskt kontonummer | Svensk kontonummer |
BankAccountNumber.labelSwedishBankgiro | Bankgiro | Bankgiro | Bankgiro | Bankgiro |
BankAccountNumber.labelSwedishPlusgiro | Plusgiro | Plusgiro | Plusgiro | Plusgiro |
BankAccountNumber.labelIban | IBAN | IBAN | IBAN | IBAN |
BankAccountNumber.errorRequired | Du må fylle inn et kontonummer. | You must enter an account number. | Du måste fylla i ett kontonummer. | Du skal udfylde et kontonummer. |
BankAccountNumber.errorBankAccountNumber | Ugyldig kontonummer. | Invalid account number. | Ogiltigt kontonummer. | Ugyldigt kontonummer. |
BankAccountNumber.errorBankAccountNumberLength | Du må skrive inn et gyldig kontonummer med 11 siffer. | You must enter a valid account number with 11 digits. | Du måste ange ett giltigt kontonummer med 11 siffror. | Du skal indtaste et gyldigt kontonummer med 11 cifre. |