Files
twenty/packages/twenty-front
Weiko c57c5b2554 Fix rating field not editable if null (#6110)
## Context

Rating fields were not editable on the show page and kanban view when
they were null, this is because we don't have a way to leave the empty
state for fields that are editModeContentOnly.
~~This is actually an issue for bool fields (which is the other field
type that has editModeContentOnly) as well but they have default values
can't go be edited to NULL so it's not visible.~~
Actually let's fix bool, this could happen too

Hovering over "Empty" will now show the RatingField edit mode.
I'm not 100% sure about this solution though, we could also make this
behaviour on click? I preferred over since this is the behaviour on the
table view 🤔

## Test


https://github.com/twentyhq/twenty/assets/1834158/6825b5c3-2c62-41f2-8e03-343bc0e895e2
2024-07-03 15:13:41 +02:00
..
2024-03-31 10:53:37 +02:00
2023-12-10 18:10:54 +01:00
2024-06-23 20:12:18 +02:00
2024-06-13 17:39:46 +02:00
2024-06-30 20:02:13 +02:00
2024-06-30 21:54:11 +02:00

Run yarn dev while server running on port 3000