Handling parsing and formatting in cells during user input #1268
Closed
pavish
announced in
Maintainer discussions
Replies: 2 comments 7 replies
-
We discussed this at today's meeting. We all agreed that there are pros and cons to all three behaviors. Here's a summary of people's ranked preferences:
From those votes, it seems like the spreadsheet behavior is the winner. It would be good to get your preferences, @kgodey |
Beta Was this translation helpful? Give feedback.
5 replies
-
After some thought,
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Our current number input parses and formats values(such as adding group separators) as the user types them. This leads to several race conditions, and a non-conventional input style.
Issues with our current input:
Screen.Recording.2022-04-06.at.3.05.40.PM.mov
The Spreadsheet approach
Both Google sheets and Excel follow the following editing interface:
Screen.Recording.2022-04-06.at.3.03.21.PM.mov
Airtable's approach
Screen.Recording.2022-04-06.at.3.04.33.PM.mov
I would like us to decide on an approach for us to go with.
My option would be to follow Airtable's approach. We already have the code for formatting and parsing, we'd just have to change our logic to do the formatting once the input loses focus.
Beta Was this translation helpful? Give feedback.
All reactions