disable objects field if is not choices