add support for data attributes on text, textarea, and select fields