Ingo Schommer
1df00831f4
Use new SeparatedDateField
2017-02-16 09:08:28 +13:00
Ingo Schommer
c55b641604
Scale/float testing
2017-02-16 08:23:09 +13:00
Ingo Schommer
550f9856d6
Tests for new AssetAdmin UploadField
2017-01-11 23:38:27 +13:00
Damian Mooyman
813e75a880
Update deprecated API
...
Code cleanup
2017-01-11 10:47:17 +13:00
Ingo Schommer
0618abe1ab
Added new HTMLReadonlyField implementation
2016-10-20 22:06:02 +13:00
Ingo Schommer
89922b58e9
Don't set OptionSetField to multiple vals
...
It's a radiobutton based field, so multiple values don't make sense here
2016-10-20 08:51:27 +13:00
Ingo Schommer
a0099fb03f
Populate readonly/disabled manymany
2016-10-20 08:37:06 +13:00
Ingo Schommer
8a024fd39c
Use actual manymany for CheckboxSetField
...
It's not really designed to work with a has_one or database column (you'd use OptionsetField for that).
Also removed the "Field" suffix from "MultipleListboxField" (inconsistent with other column names)
2016-10-18 23:15:37 +13:00
Ingo Schommer
3eb6295f76
More consistent field loading, using loadDataFrom() in react test admin
2016-10-18 22:07:07 +13:00
Ingo Schommer
7137b456cf
Consolidated fields
2016-10-18 16:38:41 +13:00
Ingo Schommer
8a2f501805
Sort items (no additions)
2016-10-18 16:32:13 +13:00
Ingo Schommer
ccbbd91822
Set values on readonly/disabled fields
...
These field variations are not corresponding to properties on the underlying DataObject,
hence need to be set manually. At the moment, Form->loadDataFrom() is never called during schema generation,
so the setValue() calls are required for all fields - which is a bug in the LeftAndMain->schema() implementation.
2016-10-14 07:47:57 +13:00
Ingo Schommer
fbae8eef90
Fixed casing in HTMLEditorField default data
2016-10-14 07:46:13 +13:00
Ingo Schommer
c86232f198
Present HTML formatted text in HTMLEditorField test
2016-10-14 07:46:00 +13:00
Ingo Schommer
e143204ae6
Regression on field labels
...
Auto-conversion was a bit too overzealous, and I failed at reviewing the diff properly.
2016-09-14 16:34:31 +12:00
Ingo Schommer
d735641bc0
Fixed namespace regression
2016-09-10 22:14:11 +12:00
Ingo Schommer
7720748b34
Compat with SS4 namespaces
...
See https://github.com/silverstripe/silverstripe-framework/issues/5637
2016-09-07 17:10:55 +12:00
Damian Mooyman
0e84d74b24
Add description and right title
2016-07-21 13:43:44 +12:00
Ingo Schommer
8f315e7962
Namespaced model to get more 4.x test coverage
2016-07-01 14:37:50 +12:00
Ingo Schommer
d66b64d1fa
Wrapper div for LiteralField
2016-06-17 14:17:36 +12:00
Ingo Schommer
049277d71f
LiteralField with HTML
2016-06-16 14:14:18 +12:00
Ingo Schommer
aaa56c176e
More realistic SelectionGroup config
2016-06-16 14:14:13 +12:00
Ingo Schommer
e98f22f400
Removed TimeWithDropdown, no longer supported in core
2016-06-16 13:35:41 +12:00
Ingo Schommer
d7d2afe250
Added more fields (AssetField, LiteralField, ConfirmedPasswordField)
2016-06-16 13:31:34 +12:00
Ingo Schommer
a499292bb4
Added more field variations (LabelField, CompositeField, SelectionGroup)
2016-06-16 13:11:29 +12:00
Ingo Schommer
112bdeea92
4.x compat
2016-04-19 09:27:29 +12:00
helpfulrobot
a18cb30402
Converted to PSR-2
2015-12-18 09:20:49 +13:00
Ingo Schommer
71a988843a
ToggleCompositeField variation
2014-02-10 08:51:18 +13:00
Ingo Schommer
29de31052a
MoneyField test
2014-01-22 22:21:03 +13:00
Ingo Schommer
48a939f589
Removed tests for AjaxUniqueTextField, no longer in master
2013-12-20 00:43:22 +01:00
Ingo Schommer
1b1499a3f8
Added 'required' and 'validated' fields
2013-09-18 13:01:56 +02:00
Ingo Schommer
2bd2d5f844
More comprehensive UploadField test cases
2013-05-29 17:26:17 +02:00
Ingo Schommer
e15366359e
3.1 compat
2013-03-26 13:53:37 +01:00
Ingo Schommer
52e8bc13a7
NEW Test FieldGroup
2013-01-16 10:30:00 +01:00
Ingo Schommer
247ebff56c
Added UploadField example with canUpload=false
2013-01-11 00:40:35 +01:00
Ingo Schommer
a0c74c5d47
Populate default data in form fields for more accurate testing.
...
Also adjusted to new tooltip format in 3.1 (optional)
2012-12-13 14:59:32 +01:00
Ingo Schommer
65d930d829
Added setDescription() to all fields to test help text support
...
This support has been added in master, for 3.0 most elements
will simply show the "title" attribute
2012-11-30 12:08:46 +01:00
Ingo Schommer
ca327d218e
MINOR Reverted usage of $param in getCMSFields()
2012-04-13 15:59:19 +02:00
Ingo Schommer
beba8d3153
MINOR Using new late static binding create() logic
2012-04-12 11:56:32 +02:00
Sean Harvey
a50f9fbcac
MINOR E_STRICT fixes
2012-04-12 15:04:39 +12:00
Ingo Schommer
fbf955f602
ENHANCEMENt Added tree-based fields
2012-03-08 10:36:12 +01:00
Ingo Schommer
e815c5bf09
MINOR Fixed FormField->Name() usage
2012-03-02 01:03:02 +01:00
Ingo Schommer
e8433ba258
ENHANCEMENT Added readonly/disabled fields
2012-02-29 14:39:11 +01:00
Ingo Schommer
42ffea6317
BUGFIX Updated existing test fields to work with 3.0
2012-02-29 14:35:49 +01:00
Sean Harvey
045117db1f
MINOR Removed deprecated field usage in BasicFieldsTestPage
2011-03-17 13:59:26 +13:00
Ingo Schommer
ffc2f85b9d
ENHANCEMENT Added disabled date/time fields to "basic fields test page"
2010-07-12 07:12:47 +00:00
Ingo Schommer
02e3bcabb4
ENHANCEMENT Using 2.4 date APIs
2010-07-10 02:30:23 +00:00
Sean Harvey
1fc905bd01
MINOR Re-enabled CurrencyField which works
2010-04-12 05:27:50 +00:00
Sean Harvey
d71a319bac
MINOR Removed unused field
2010-03-15 05:58:17 +00:00
Sean Harvey
ba454f7f18
MINOR Reinstated date and time fields
2010-01-27 01:40:18 +00:00