Fixed bug in add/edit view where an input was required after rendering.