We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6577a8 commit f18c024Copy full SHA for f18c024
assets/controllers/elements/structural_entity_select_controller.js
@@ -66,6 +66,9 @@ export default class extends Controller {
66
//Prepend it to the input
67
if (current) {
68
data.input = current + " " + data.input;
69
+ } else {
70
+ //If there is no current value, we remove the "->"
71
+ data.input = data.input.substring(2);
72
}
73
74
@@ -96,6 +99,9 @@ export default class extends Controller {
96
99
97
100
98
101
input = current + " " + input;
102
103
104
+ input = input.substring(2);
105
106
107
0 commit comments