mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-24 21:25:45 +00:00
fix: allow edit keybinding shortcuts (#7404)
Co-authored-by: shubh-bruno <shubh-bruno@shubh-bruno.local>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user