[datetime-field_type] Upon submit, getting error saying invalid formatCreated 3 years ago by emergingdzns
I've got a date time field configured thusly:
[ "default_value" => null, "mode" => "date", "date_format" => "m/d/Y", "year_range" => "-50:+50", "picker" => false ]
I'm using the Pyro built in module stream form builder functionality. I've defined the fields by name only (no special config) and the date field is in the list. The input mask is showing up and working just fine without the date picker there. The user can use the up/dn arrows to change days, months and years or simply type the date out. However, when the form is submitted (the handler only does a save() it doesn't do any extra validation or anything) it returns with an error that the date is invalid. It didn't do this when the picker was set to true.