I am trying to build a template and controller to accept decimal input (monetary bids). If I use the number_input control I am restricted to entering only integer values. Is there a way to modify the behavior of this control to accept decimal input?
If not, would the best approach be to use a text_input control and parse the input to a float? I have coded it this way but I find it difficult to integrate any errors which may arise back into my template. Any suggestions would be most appreciated.