Updated refresh() to also re-evaluate attributes.

Without this update, attributes (e.g. placeholder text) will not
be updated upon refresh(), even if the select options have changed.