Fix the choice of situations when the main input element is readonly