Disable the value entry if not an enumerated attribute.