Closed sabina-talipova closed 9 months ago
MoneyField::schemaDataType replace with FormField::SCHEMA_DATA_TYPE_TEXT when MoneyField is implemented
FormField::SCHEMA_DATA_TYPE_TEXT
See: https://github.com/silverstripe/silverstripe-framework/blob/cf78a9d785b9959a92dfb52c2a456bea80a4c567/src/Forms/MoneyField.php#L20
Gonna close this as it doesn't make sense to use a "text" schema type for moneyfield, which isn't a text field.
Description
MoneyField::schemaDataType replace with
FormField::SCHEMA_DATA_TYPE_TEXT
when MoneyField is implementedSee: https://github.com/silverstripe/silverstripe-framework/blob/cf78a9d785b9959a92dfb52c2a456bea80a4c567/src/Forms/MoneyField.php#L20