# All Short Cut Key Unassigned not working

**URL:** <https://discourse.nodered.org/t/all-short-cut-key-unassigned-not-working/35427>\
**Category:** Core Development\
**Created:** [6 November 2020 06:57 UTC](https://discourse.nodered.org/t/all-short-cut-key-unassigned-not-working/35427 "2020-11-06T06:57:28Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhpatel177](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dhpatel177/32/39248_2.png) [@dhpatel177](https://discourse.nodered.org/u/dhpatel177)\
**Post date:** [6 November 2020 06:57 UTC](https://discourse.nodered.org/t/all-short-cut-key-unassigned-not-working/35427/1 "2020-11-06T06:57:28Z")

</div>

Hello,  
I am Un-assigning the keyboard short cut fields but somehow when i reload the url then it again comes as assigned. My end goal is to disable all shortcut keys. Please see the screen shot.  
In 1st Screen shot i am unassigning short cut key and in 2nd screen shot when i load the url it is appearing as an assigned.

 ![1st](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/8/98d058338f4c77cf400402ed1c744e389d3f3f22.png) ![2nd|690x392]

 ![2nd](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/4/e4cd606145fdc4c8d3e30968c64fb95e6cce26f0.png)

@knolleary

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [6 November 2020 07:28 UTC](https://discourse.nodered.org/t/all-short-cut-key-unassigned-not-working/35427/2 "2020-11-06T07:28:55Z")

</div>

Which version of node red are you using and is there anything unusual about the install (docket for example).  
Do you see any errors in the browser developer console?

---

<div class="post-metadata">

**Author:** ![dhpatel177](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dhpatel177/32/39248_2.png) [@dhpatel177](https://discourse.nodered.org/u/dhpatel177)\
**Post date:** [6 November 2020 07:36 UTC](https://discourse.nodered.org/t/all-short-cut-key-unassigned-not-working/35427/3 "2020-11-06T07:36:13Z")

</div>

I am using "version": "1.0.6" of node red and i have created image of node red using docker and hosted it on azure kubernetes. No error is coming in browser developer console.

All other shortcutkeys i am able to unassigned rather than "Delete Config Selection","Show Dashboard","Select All Config Nodes".

It is like when i unassign all the 3 keys above and then i reload the url then again this 3 keys become assigned.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [6 November 2020 09:49 UTC](https://discourse.nodered.org/t/all-short-cut-key-unassigned-not-working/35427/4 "2020-11-06T09:49:07Z")

</div>

Yes, you are right, the Show Dashboard shortcut (Ctrl-Shift-D) enables itself again (using node-red 1.2.2). I didn't test the others. I suggest opening an issue for it. [https://github.com/node-red/node-red/issues](https://github.com/node-red/node-red/issues)

---

<div class="post-metadata">

**Author:** ![dhpatel177](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dhpatel177/32/39248_2.png) [@dhpatel177](https://discourse.nodered.org/u/dhpatel177)\
**Post date:** [18 November 2020 05:19 UTC](https://discourse.nodered.org/t/all-short-cut-key-unassigned-not-working/35427/5 "2020-11-18T05:19:10Z")

</div>

@knolleary @Colin s there anywhere in the code we can unassigned this short cut keys by programing rather than going on menu an manually doing unassigned?

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [18 November 2020 08:22 UTC](https://discourse.nodered.org/t/all-short-cut-key-unassigned-not-working/35427/6 "2020-11-18T08:22:09Z")

</div>

@dhpatel177 the 1.2.5 release fixes the issue you originally reported about custom keyboard shortcuts being reset.

You can set a user's custom keyboard shortcut for any action using:

```auto
RED.keyboard.add(scope, "" , actionName,true);

```

You can get a full list of the available actions (and their scope) using `RED.actions.list()`

---

<div class="post-metadata">

**Author:** ![dhpatel177](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dhpatel177/32/39248_2.png) [@dhpatel177](https://discourse.nodered.org/u/dhpatel177)\
**Post date:** [18 November 2020 09:27 UTC](https://discourse.nodered.org/t/all-short-cut-key-unassigned-not-working/35427/7 "2020-11-18T09:27:06Z")

</div>

in which file i can add following code :

RED.keyboard.add(scope, "" , actionName,true);

and what should i write to make all the shortcut key unassigned by default?

@knolleary

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [17 January 2021 09:27 UTC](https://discourse.nodered.org/t/all-short-cut-key-unassigned-not-working/35427/8 "2021-01-17T09:27:19Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
