mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
Compare commits
2 Commits
84b65f2595
...
9b817221df
Author | SHA1 | Date | |
---|---|---|---|
|
9b817221df | ||
|
000360672f |
@ -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,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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(), [
|
||||||
|
Loading…
Reference in New Issue
Block a user