directus/directus

Ability to save NULL dates

benhaynes asked for this feature about 1 year ago — 1 comment

benhaynes commented about 1 year ago Admin

@coolov: The helper method serializeArray in jQuery returns an empty string when a lacks a value. If we submit the empty string to the the API it will throw an error. Writing empty strings to a datetime column is forbidden! There is no proper way of nullifying a date!

Join the discussion!

Sign-in with GitHub to comment