Edit title within a dashboard is buggy
Description
When opening a dashboard an trying to edit its title, if you press enter while editing, then the edit won't happen
Environment
Demo
Reproducible Steps
Steps to create the smallest reproducible scenario:
- Go in a dashboard
- Type on edit
- Edit the title
- press on ENTER
- click outside of the drawer
Expected Output
The title is updated
Actual Output
The title is not updated
Additional information
https://github.com/user-attachments/assets/e118caba-ae91-4f4d-a03a-85218433b2c8
Screenshots (optional)
Removal of regression label as the "enter" as never work in those field (from my knowledge). We need to discuss avbout that
Interesting fact: It's working well on Firefox but not on Chrome
Fix needed for clarity: it needs to be applied to all fields (confidence level, description...) that you can input through your keyboard. Side note: this was not a by default behavior in the platform (at least on Chrome)
@nino-filigran not sure to understand how is it a bug? From my knowledge it never has been implemented on any form. Update has always been made when leaving the input, not on pressing enter.
I get it, but it's still annoying. Is it something difficult to do?
Difficult I don't think so. Still a bit of work to make it consistent across all our forms in the platform
Issue solved on master:
https://github.com/user-attachments/assets/52a83296-3ba1-403d-a2d1-73f19b6c1792