Currency input field - fix (#16140)

Currency field used to have default value, but default value on field is
not mandatory. Defaulf default value logic has been removed.

Also test all field type input when empty. 
This commit is contained in:
Etienne
2025-11-27 15:53:42 +01:00
committed by GitHub
parent ec53302ba8
commit 65480eb492
@@ -28,7 +28,7 @@ export const CurrencyFieldInput = () => {
const defaultCurrencyCodeWithoutSQLQuotes = (
defaultValue as FieldCurrencyValue
).currencyCode.replace(/'/g, '') as CurrencyCode;
)?.currencyCode?.replace(/'/g, '') as CurrencyCode;
const defaultCurrencyCodeIsNotEmpty = isNonEmptyString(
defaultCurrencyCodeWithoutSQLQuotes,