Date relations can't be cleared when doing a bulk edit of the relation in a grid view

What’s The Bug?

I can select multiple rows in the Grid view of a Set, right click on the selected rows, choose “Edit relations”, click on a date relation (e.g. “Due date”), and select a date from the date picker. This will update all of the selected rows to have their Due Date relation set to the selected date, as expected. However, I cannot follow the same process to clear the Due Date from the selected rows. Trying to clear the Due Date relation just leaves the rows with their previous Due Date values.

How To Reproduce It

  1. Open a Grid view of the Set of Tasks
  2. Make sure that “Due date” is one of the columns visible in the Grid view
  3. Highlight multiple rows of Tasks that have a non-empty “Due date” set
  4. Right-click on the highlighted rows
  5. Click “Edit relations”
  6. In the relations bulk-edit dialog, click the date in the “Due date” relation
  7. Click “Clear” (bottom-right) in the date picker that pops up
  8. The “Due date” relation should now be cleared in the bulk-edit dialog
  9. Click “Save” in the bulk-edit dialog
  10. Observe that the selected rows still have their previous “Due date” values

The Expected Behavior

The selected rows should now have an empty “Due date”

Device

Lenovo ThinkPad X1

OS

Ubuntu 24.04.2

Anytype Version

0.45.3

Network Mode

AnySync

Technical Information

OS version: linux x64 6.8.0-55-generic
App version: 0.45.3
Build number: build on 2025-02-17 15:22:27 +0000 UTC at #f1ceda0a1457dbf982d8b3fd8479ccdcb95df6d3 (dirty)
Library version: v0.39.11
Anytype Identity: A6FP9zNqPoNgr3BBKZDk8qMyRTHWpik5Wdoe8wPitbALgArX
Analytics ID: 9c77cc61-e832-469b-aaa1-94a8e3189fe5
Device ID: 12D3KooWQV16asPF419b19iuo98smAUT3ZtHtUdrKeNjbyxJK46S

This report has been added to our issue tracker and received by the Development Team.

This issue has been fixed by the Development Team and will be implemented in an upcoming release.