[pickers][fields] Handle form submission when pressing Enter
on fields with accessible DOM structure
#13066
Labels
component: pickers
This is the name of the generic UI component, not the React module!
enhancement
This is not a bug, nor a new feature
feature: Keyboard editing
Related to the pickers keyboard edition
Created from #12964 (comment)
The accessible DOM structure fields do not allow form submitting when Enter is clicked on a focused input.
A proposed solution is to rely on form.requestSubmit(), but it has its drawbacks (which are discussed within the linked issue).
An alternative solution is to explore if the option of aligning the approach with native date input (it doesn't use
contentEditable
elements, but possibly handles all keyboard events explicitly) would circumvent this issue.Search keywords:
The text was updated successfully, but these errors were encountered: