mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
Merge pull request #35 from open-sausages/pulls/4.0/6099-remove-form-fields
Removed legacy fields
This commit is contained in:
commit
880d26be78
@ -197,9 +197,7 @@ class BasicFieldsTestPage extends TestPage
|
|||||||
Object::create('SilverStripe\\Forms\\NumericField', 'Number')
|
Object::create('SilverStripe\\Forms\\NumericField', 'Number')
|
||||||
->setScale(4),
|
->setScale(4),
|
||||||
Object::create('SilverStripe\\Forms\\CurrencyField', 'Price'),
|
Object::create('SilverStripe\\Forms\\CurrencyField', 'Price'),
|
||||||
Object::create('SilverStripe\\Forms\\MoneyField', 'Money', 'Money', array('Amount' => 99.99, 'Currency' => 'EUR')),
|
Object::create('SilverStripe\\Forms\\MoneyField', 'Money', 'Money', array('Amount' => 99.99, 'Currency' => 'EUR'))
|
||||||
Object::create('SilverStripe\\Forms\\PhoneNumberField', 'PhoneNumber'),
|
|
||||||
Object::create('SilverStripe\\Forms\\CreditCardField', 'CreditCard')
|
|
||||||
));
|
));
|
||||||
|
|
||||||
$fields->addFieldsToTab('Root.Option', array(
|
$fields->addFieldsToTab('Root.Option', array(
|
||||||
|
Loading…
Reference in New Issue
Block a user