Page MenuHomePhabricator

Stop using required and validators for same purpose
Open, Needs TriagePublic

Description

SubmitControl uses getRequiredFields for both required-ness and for validators.

This causes problems for T277379: OAuth doesn't validate length of oarc_grants and oarc_oauth2_allowed_grants JSON and oarc_oauth2_allowed_grants... We want to declare a validator, but we don't make it always required.

Should try and detach the two...