mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Set EditableCustomRule:FieldValue to Varchar(255)
Fixes issue #477; without explicitly setting the length here, the field defaults to 50, making it impossible to match HasValue on longer field options.
This commit is contained in:
parent
2dce050087
commit
91eb97e37c
@ -23,7 +23,7 @@ class EditableCustomRule extends DataObject {
|
||||
private static $db = array(
|
||||
'Display' => 'Enum("Show,Hide")',
|
||||
'ConditionOption' => 'Enum("IsBlank,IsNotBlank,HasValue,ValueNot,ValueLessThan,ValueLessThanEqual,ValueGreaterThan,ValueGreaterThanEqual")',
|
||||
'FieldValue' => 'Varchar'
|
||||
'FieldValue' => 'Varchar(255)'
|
||||
);
|
||||
|
||||
private static $has_one = array(
|
||||
|
Loading…
Reference in New Issue
Block a user