fix: allow edit keybinding shortcuts (#7404)

Co-authored-by: shubh-bruno <shubh-bruno@shubh-bruno.local>
This commit is contained in:
shubh-bruno
2026-03-09 17:17:42 +05:30
committed by GitHub
parent 707fd405ff
commit facfe325b1

View File

@@ -553,12 +553,7 @@ const Keybindings = () => {
value={renderValue(action)}
readOnly={!isEditing}
onKeyDown={(e) => handleKeyDown(action, e)}
onKeyUp={(e) => {
if (hasError) {
return stopEditing(action);
}
handleKeyUp(action, e);
}}
onKeyUp={(e) => { handleKeyUp(action, e); }}
onBlur={() => {
// If there's an error, reset to original value instead of keeping invalid state
if (isEditing && hasError) {