Do not display default value for Input Widget

I have an Input Widget, type=Number.

Is there a way to NOT display anything in this field when the form is rendered?

Currently, it is displaying "0" in the field but I would like for it to be blank initially.


Thanks in advance.
Jeff W.

Hi Jeff,

In the input widget there is a property called null value. Set it to 0 and the input will be empty.

Regards,

Marcelo

Solution

Thank you Marcelo!

That was it. (Of course it would be that simple.)


Thx again!

Solution