On my form I have this:
echo $form->field($model, 'amount')->textInput();
If the value coming from the database is 42.5
I want to have it formatted with two decimals in the input field like this 42.50
. How do I do that?
I don't find any info about formatting in ActiveField docs...