restrict text inputs in PR edit