Hello Ivan,
To bind the price field with currency you should also have currency dropdown as it presents by default.
By applying Dmitry's code you just replace the number inputs with the dropdowns...