Added ability to set input's value if corresponding value of model attribute is null