Fixed checkbox seeder

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-12-13 13:16:45 +00:00
parent 3834221589
commit 7b85a30b64

View file

@ -99,7 +99,7 @@ class CustomFieldFactory extends Factory
return [ return [
'name' => 'Test Checkbox', 'name' => 'Test Checkbox',
'help_text' => 'This is a sample checkbox.', 'help_text' => 'This is a sample checkbox.',
'field_values' => "One\nTwo\nThree", 'field_values' => "One\r\nTwo\r\nThree",
'element' => 'checkbox', 'element' => 'checkbox',
]; ];
}); });