silverstripe-userforms/code/Model/EditableFormField
Dylan Wagstaff 0ce94b75f5 FIX correctly calculate MaxFileSizeMB
The inputted value is intended to represent megabytes, but is only
multiplied by 1024 - meaning it'd represent kilobytes. This is then used
to compare with the PHP setting number, which is bytes in the range of
megabytes. Kilobytes are always under megabytes, meaning size
comparisons elsewhere in the code are always true.
We should ensure the calculation for validation is correct.
2020-11-01 11:31:23 +13:00
..
EditableDateField FIX Fix CMS css name, remove old showcalendar DateField config, update CountryDropdownField 2017-08-22 16:40:16 +12:00
EditableCheckbox.php FIX Allow editable form fields to have nullable titles rather than fallback to Name 2018-03-23 16:25:06 +13:00
EditableCheckboxGroupField.php FIX Allow editable form fields to have nullable titles rather than fallback to Name 2018-03-23 16:25:06 +13:00
EditableCountryDropdownField.php Merge branch '5.1' into 5.2 2019-05-02 11:01:59 +12:00
EditableDateField.php FIX DefaultToToday date format 2018-09-22 13:43:00 +02:00
EditableDropdown.php FIX Allow editable form fields to have nullable titles rather than fallback to Name 2018-03-23 16:25:06 +13:00
EditableEmailField.php FIX Allow editable form fields to have nullable titles rather than fallback to Name 2018-03-23 16:25:06 +13:00
EditableFieldGroup.php API Remove use of getEscapedTitle() and deprecated for future removal. Use $Title directly instead. 2018-03-22 09:24:55 +13:00
EditableFieldGroupEnd.php API Implement cascading deletes API for model relations 2017-08-22 16:40:17 +12:00
EditableFileField.php FIX correctly calculate MaxFileSizeMB 2020-11-01 11:31:23 +13:00
EditableFormHeading.php FIX Allow editable form fields to have nullable titles rather than fallback to Name 2018-03-23 16:25:06 +13:00
EditableFormStep.php API Remove use of getEscapedTitle() and deprecated for future removal. Use $Title directly instead. 2018-03-22 09:24:55 +13:00
EditableLiteralField.php FIX Remove unused namespace references and add to doc block references 2017-09-05 09:53:35 +12:00
EditableMemberListField.php Merge branch '5.0' into 5.1 2018-05-09 14:03:34 +01:00
EditableMultipleOptionField.php FIX Ensure duplicated multiple option field is written (has an ID) before duplicating options 2018-03-27 10:34:42 +01:00
EditableNumericField.php Add unit tests for EditableNumericField::validate() 2019-01-16 21:59:02 +01:00
EditableOption.php updated canCreate function to check for Parent object 2019-03-13 10:18:41 +13:00
EditableRadioField.php FIX Show custom validation message for checkbox and radio groups 2020-07-21 17:30:55 +12:00
EditableTextField.php FIX Allowed text length fields now align correctly with each other 2019-05-17 15:12:57 +12:00
Validator.php Required fields can have display rules. Hidden required fields are dynamically excluded from server and client side validation. 2020-01-10 10:41:59 +13:00