Accept null value from inputs

So it can restore or empty an input