During the recent Community meeting ( https://github.com/kitodo/kitodo-production/wiki/2024%E2%80%9004%E2%80%9019-%E2%80%90-Programm-Community-Treffen-(Kitodo.Production) ), a bug was reported regarding the behavior when pressing the "Enter" key within an input field in the metadata tab of the metadata editor. This action could potentially result in the disappearance of the first form field and metadata values already recorded there. To mitigate this issue, one proposed solution is to intercept "Enter" key events within input fields (excluding textareas) in the metadata editor and handle them similarly to tab events, causing the focus to jump to the next input field. This pull request aims to implement this solution.
During the recent Community meeting ( https://github.com/kitodo/kitodo-production/wiki/2024%E2%80%9004%E2%80%9019-%E2%80%90-Programm-Community-Treffen-(Kitodo.Production) ), a bug was reported regarding the behavior when pressing the "Enter" key within an input field in the metadata tab of the metadata editor. This action could potentially result in the disappearance of the first form field and metadata values already recorded there. To mitigate this issue, one proposed solution is to intercept "Enter" key events within input fields (excluding textareas) in the metadata editor and handle them similarly to tab events, causing the focus to jump to the next input field. This pull request aims to implement this solution.