Update field.php

Small fix to implement data attributes on select