Use non-deprecated methods for rendering fields
Merge pull request #3342 from wilsonge/rendering

[#33497] Use non-deprecated methods for rendering fields