changed attr to prop on form element queries