Cannot type date value into a date field in an object

What’s The Bug?

If you open a new contact object and try and enter data for the birthday field there is no combination of characters that will let you type a date into the field without using the picker. Ideally one would be able to enter all field by typing and tabbing to move on but iI have been unable to do so without using the calendar widget.

How To Reproduce It

  1. Open a new contact type object
  2. Try and type a valid date only using the keyboard

The Expected Behavior

Type and store a date

Additional Context

I was trying to figure out whether the field was looking for “MM-DD-YYYY” or “DD-MM-YYYY” so I paused after entering the first 2 digits. If you do that (e.g., type “24” and wait) then you’re in a weird limbo state. You can’t keep typing. Digits don’t work. “/” or ." doesn’t work. Your only recourse is to highlight the “MM” digits and over type and then you’re stuck again and have to highlight the “YYYY” digits and overtype. If you can type “DDMMYYYY” fast enough to beat the event it’s all good. But if you pause at all (e.g., after “24”) then you get stuck and see “24.01.0___” and are in that weird stuck state. Ideally “/” or “.” would move me past “DD” and into “MM” or at least the event that fires would wait until I tab out or something to do it’s logic.

Device

Macbook pro M1 2020

OS

Sonoma 14.5

Anytype Version

v0.41.0

Network Mode

?

Technical Information

OS version: darwin arm64 14.5.0
App version: 0.41.0
Build number: build on 2024-06-07 12:47:15 +0000 UTC at #7a0f64abeaface1cd02a50b8e49549b9ef1097d0
Library version: v0.34.0
Anytype Identity: ABPq39YyULxteeLXNNh5kcZ5mczQERUHpgGHRqnM1aGcedYA
Analytics ID: 8dbadb1e-862b-4d96-9ec7-3ffe33f2b304
Device ID: 12D3KooWCdmwLmBKW3XAN2i1Tybow75gBvecXoPHY3sVjTbyGK4h

It should be possible… it even auto corrects my 22th month to December…:thinking: Do you have any other information that could help team understand the situation?

Tested with identical software with MacBook Air M1.

P.S. The timing of auto-input/detect is too quick that it is hard to input full number if I took a second to realise what the second number would be.

Thank you! Watching your video helped me hone in on the problem. I was trying to figure out whether the field was looking for “MM-DD-YYYY” or “DD-MM-YYYY” so I paused after entering the first 2 digits. If you do that (e.g., type “24” and wait) then you’re in a weird limbo state. You can’t keep typing. Digits don’t work. “/” or ." doesn’t work. Your only recourse is to highlight the “MM” digits and over type and then you’re stuck again and have to highlight the “YYYY” digits and overtype. If you can type “DDMMYYYY” fast enough to beat the event it’s all good. But if you pause at all (e.g., after “24”) then you get stuck and see “24.01.0___” and are in that weird stuck state. Ideally “/” or “.” would move me past “DD” and into “MM” or at least the event that fires would wait until I tab out or something to do it’s logic.

I have the same feeling. Here is a feature request that would interest you.

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

What’s The Bug?

When typing in a date in a relation on desktop, after a few milliseconds, it tries to “parse” the date and “fill the rest”, making it really hard to just type a date.
This is valid :

  • in a grid
  • when having a relation embedded in a page
  • in a relation not displayed (in the “triangle menu” in the top right corner)

How To Reproduce It

  1. have a document with a date relation
  2. try to edit the relation, it displays __.__.____
  3. type “2” and wait half a second
  4. it displays 02.01.0___, with the cursor between 0 et 2

The Expected Behavior

When typing whatever, it should not be reflected immediately in the relation/component, but on focus loss (clicking elsewhere, pressing tab or enter)

Additional Context

There are multiples bugs around this, this is only one use-case that is faulty.

Device

PC/Desktop

OS

Win 10

Anytype Version

0.42

Network Mode

AnySync

Technical Information

OS version: win32 x64 10.0.19045
App version: 0.42.0
Build number: build on 2024-07-31 08:28:58 +0000 UTC at #4a8c39e4e991d3e9d6819f5ff495c688415bc288 (dirty)
Library version: v0.35.0-rc12
Anytype Identity: A9bnUQCzKFrckVYhfuPH1qdijaMk6WdVEaGtJAShthKDyXzb
Analytics ID: a03dcce7-6e83-44b4-8ac1-67048d9a2350
Device ID: 12D3KooWPnnpcnzuMB4DwyyNx53ZZ6YRUDCj6eVvuRGZeKaneaKB

In line with this bug, when I delete a part of a date when editing a date relation, after about 1 second of me doing nothing it automatically replaces the values instead of waiting. I’m on a Mac, Sonoma 14.6.1, Anytype version: 0.42.8.

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