806b1c374f
The CurrencySelectList component was using 'id' as the valueAccessor, which caused the component to return the numeric currency ID (e.g., 1007) instead of the currency code string (e.g., 'THB'). This fix changes the valueAccessor from 'id' to 'currency_code' so that the currency code string is correctly sent to the backend, which expects @IsString() for the currencyCode field. Fixes #1025