Compare commits

...

2 Commits

Author SHA1 Message Date
Steve Boyd
9b817221df FIX Change type to Int 2024-10-21 18:28:57 +13:00
Guy Sartorelli
000360672f
API Update method signature to match parent class (#207) 2024-10-21 11:54:58 +13:00
2 changed files with 3 additions and 3 deletions

View File

@ -71,7 +71,7 @@ class BasicFieldsTestPage extends TestPage
'TimeHTML5' => 'Time',
'ToggleCompositeTextField1' => 'Varchar',
'ToggleCompositeDropdownField' => 'Varchar',
'Validated' => 'Text',
'Validated' => 'Int',
);
private static $has_one = array(
@ -187,7 +187,7 @@ class BasicFieldsTestPage extends TestPage
'Time' => "23:59",
'TimeHTML5' => "23:59",
'ToggleCompositeTextField1' => 'My value (ä!)',
'Validated' => '1',
'Validated' => 1,
);
}

View File

@ -10,7 +10,7 @@ class TestReactFormBuilder extends LeftAndMain
private static $url_segment = 'test-react';
private static $menu_title = 'Test React FormBuilder';
public function getClientConfig()
public function getClientConfig(): array
{
$baseLink = $this->Link();
return array_merge(parent::getClientConfig(), [