By default, title fields are required, so the form cannot be submitted
without them. However, here we need either the title or the revision id.
Change-Id: Iedafec485851d7e91affb69a2c9c3fd40d31ded4
'size' => '40',
'section' => 'page1',
'validation-callback' => [ $this, 'checkExistingTitle' ],
+ 'required' => false,
],
'Revision1' => [
'type' => 'int',
'size' => '40',
'section' => 'page2',
'validation-callback' => [ $this, 'checkExistingTitle' ],
+ 'required' => false,
],
'Revision2' => [
'type' => 'int',