Fixed bug where decimal value is passed to component as string