You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`name`|`string`|| - | - | The prefix used to create a HTML `name` property for the amount input field (`${name}.amount`) and the currency dropdown (`${name}.currencyCode`). |
36
-
|`value`|`{ currencyCode: string, amount: string }`| ✅ | - | - | Value of the input. Consists of the currency code and an amount. `amount` is a string representing the amount. A dot has to be used as the decimal separator. |
37
-
|`value.currencyCode`|`string`| ✅ | - | - | The currency code influences the fraction digits when formatting on blur. Can be an empty string. |
38
-
|`value.amount`|`string`| ✅ | - | - | Amount formatted as a number, e.g. "10.30". Must use a dot as the decimal separator. Can be an empty string. |
39
-
|`currencies`| array of `string`| - | - |[]| List of possible currencies. When not provided or empty, the component renders a label with the value's currency instead of a dropdown. |
40
-
|`placeholder`|`string`| - || - | Placeholder text for the input. |
41
-
|`onFocus`|`func`| - | - | - | Called when the amount field or the currency code dropdown gains focus. |
42
-
|`onBlur`|`func`| - | - | - | Called when the amount field or the currency code dropdown is blurred. |
43
-
|`isDisabled`|`bool`| - | - |`false`| Indicates that the field cannot be used. |
44
-
|`isReadOnly`|`bool`| - | - |`false`| Indicates that the field is displaying read-only content |
45
-
|`isAutofocussed`|`bool`| - | - | - | Focus the input field on initial render |
46
-
|`onChange`|`function(event)`| ✳️ | - | - | Called with the event of the input or dropdown when either the currency or the amount have changed. Either `onChange` or `onChangeValue` must be passed. |
47
-
|`hasError`|`bool`| - | - | - | Indicates if the input has an error |
48
-
|`hasWarning`|`bool`| - | - | - | Indicates if the input has a warning |
49
-
|`horizontalConstraint`|`string`| - |`s`, `m`, `l`, `xl`, `scale`|`scale`| Horizontal size limit of the input fields. |
|`name`|`string`|| - | - | The prefix used to create a HTML `name` property for the amount input field (`${name}.amount`) and the currency dropdown (`${name}.currencyCode`). |
36
+
|`value`|`{ currencyCode: string, amount: string }`| ✅ | - | - | Value of the input. Consists of the currency code and an amount. `amount` is a string representing the amount. A dot has to be used as the decimal separator. |
37
+
|`value.currencyCode`|`string`| ✅ | - | - | The currency code influences the fraction digits when formatting on blur. Can be an empty string. |
38
+
|`value.amount`|`string`| ✅ | - | - | Amount formatted as a number, e.g. "10.30". Must use a dot as the decimal separator. Can be an empty string. |
39
+
|`currencies`| array of `string`| - | - |[]| List of possible currencies. When not provided or empty, the component renders a label with the value's currency instead of a dropdown. |
40
+
|`placeholder`|`string`| - || - | Placeholder text for the input. |
41
+
|`onFocus`|`func`| - | - | - | Called when the amount field or the currency code dropdown gains focus. |
42
+
|`onBlur`|`func`| - | - | - | Called when the amount field or the currency code dropdown is blurred. |
43
+
|`isDisabled`|`bool`| - | - |`false`| Indicates that the field cannot be used. |
44
+
|`isReadOnly`|`bool`| - | - |`false`| Indicates that the field is displaying read-only content |
45
+
|`isAutofocussed`|`bool`| - | - | - | Focus the input field on initial render |
46
+
|`onChange`|`function(event)`| ✳️ | - | - | Called with the event of the input or dropdown when either the currency or the amount have changed. Either `onChange` or `onChangeValue` must be passed. |
47
+
|`hasError`|`bool`| - | - | - | Indicates if the input has an error |
48
+
|`hasWarning`|`bool`| - | - | - | Indicates if the input has a warning |
49
+
|`horizontalConstraint`|`string`| - |`s`, `m`, `l`, `xl`, `scale`|`scale`| Horizontal size limit of the input fields. |
50
+
|`hasHighPrecisionBadge`|`bool`| - | - | - | Shows high precision badge in case current value uses high precision. |
0 commit comments