mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 17:15:51 +02:00
Fixed initial rendering of default currency item in freshly initialized currency selectors
This commit is contained in:
parent
1964084155
commit
c402ec40a5
1 changed files with 2 additions and 1 deletions
|
@ -66,7 +66,8 @@ export default class extends Controller {
|
|||
};
|
||||
|
||||
this._tomSelect = new TomSelect(this.element, settings);
|
||||
this._tomSelect.sync();
|
||||
//Do not do a sync here as this breaks the initial rendering of the empty option
|
||||
//this._tomSelect.sync();
|
||||
}
|
||||
|
||||
createItem(input, callback) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue