improve order of properties for inputs and textareas