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', 'TimeHTML5' => 'Time',
'ToggleCompositeTextField1' => 'Varchar', 'ToggleCompositeTextField1' => 'Varchar',
'ToggleCompositeDropdownField' => 'Varchar', 'ToggleCompositeDropdownField' => 'Varchar',
'Validated' => 'Text', 'Validated' => 'Int',
); );
private static $has_one = array( private static $has_one = array(
@ -187,7 +187,7 @@ class BasicFieldsTestPage extends TestPage
'Time' => "23:59", 'Time' => "23:59",
'TimeHTML5' => "23:59", 'TimeHTML5' => "23:59",
'ToggleCompositeTextField1' => 'My value (ä!)', '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 $url_segment = 'test-react';
private static $menu_title = 'Test React FormBuilder'; private static $menu_title = 'Test React FormBuilder';
public function getClientConfig() public function getClientConfig(): array
{ {
$baseLink = $this->Link(); $baseLink = $this->Link();
return array_merge(parent::getClientConfig(), [ return array_merge(parent::getClientConfig(), [