Added type support for text select but should make it support all attributes

We will explore all attributes in the future but for now this should be fine