If you just enter a whole number or just to the tenths -- it leaves it without formatting it with the cents. I did it really kludgey by
let fd=0
const setF = () => {
fd=2
setFormattedValue()
fd=0
}
and changed
formattedValue = isZero ? '' : formatCurrency(value, fractionDigits, fd);
and then [
(on:blur={setF})
I am sure there is a better way