Merge pull request #35 from open-sausages/pulls/4.0/6099-remove-form-fields

Removed legacy fields
This commit is contained in:
Damian Mooyman 2017-05-09 11:08:51 +12:00 committed by GitHub
commit 880d26be78

View File

@ -197,9 +197,7 @@ class BasicFieldsTestPage extends TestPage
Object::create('SilverStripe\\Forms\\NumericField', 'Number')
->setScale(4),
Object::create('SilverStripe\\Forms\\CurrencyField', 'Price'),
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')
Object::create('SilverStripe\\Forms\\MoneyField', 'Money', 'Money', array('Amount' => 99.99, 'Currency' => 'EUR'))
));
$fields->addFieldsToTab('Root.Option', array(