Instead of require it should be required.
Related IRC 0ad-dev (5/Sep/21) conversation:
11:41 < Langbart> @tell Angen In gui/mod/validatemod.js under "label" it says only "require" and not "required" is this a bug or intentional? Should I make a patch? ... 13:16 < Angen> @tell Langbart yes it is bug