Skip to content

Commit d04537e

Browse files
[Site] Upgrading to latest version + other changes
1 parent c8a50ad commit d04537e

File tree

16 files changed

+1201
-1173
lines changed

16 files changed

+1201
-1173
lines changed

src/Autocomplete/assets/dist/controller.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ class default_1 extends Controller {
112112
}
113113
if (placeholder) {
114114
this.stopMutationObserver();
115+
this.tomSelect.settings.placeholder = placeholder;
115116
this.tomSelect.control_input.setAttribute('placeholder', placeholder);
116117
this.startMutationObserver();
117118
}

src/Autocomplete/assets/src/controller.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,9 @@ export default class extends Controller {
290290

291291
if (placeholder) {
292292
this.stopMutationObserver();
293+
// override settings so it's used again later
294+
this.tomSelect.settings.placeholder = placeholder;
295+
// and set it right now
293296
this.tomSelect.control_input.setAttribute('placeholder', placeholder);
294297
this.startMutationObserver();
295298
}

ux.symfony.com/assets/bootstrap.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,5 @@ export const app = startStimulusApp(require.context(
1111
app.debug = process.env.NODE_ENV === 'development';
1212

1313
app.register('clipboard', Clipboard);
14-
app.register('live', Live);
1514
// register any custom, 3rd party controllers here
1615

Loading

0 commit comments

Comments
 (0)