When a product attribute extension is set to Text Field, the attribute displays a select prior to the input (extensionShape).
Playing with if (attributeModel.AttributeExtensionShapes != ... == works as an ugly partial-workaround (apply display:none to select when extensionShape != null) if the product has either select attributes or input extensions, but not if both none and Text Field attributes exist.
When a product attribute extension is set to Text Field, the attribute displays a select prior to the input (extensionShape).
Playing with
if (attributeModel.AttributeExtensionShapes != ... ==
works as an ugly partial-workaround (apply display:none to select when extensionShape != null) if the product has either select attributes or input extensions, but not if both none and Text Field attributes exist.