mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 09:05:52 +02:00
Do not split up pasted input on structrual entity selectors. This caused a part of the string to get split/lost
Fixes issue #538
This commit is contained in:
parent
0cd631774b
commit
cf39e1f259
1 changed files with 5 additions and 0 deletions
|
@ -44,6 +44,11 @@ export default class extends Controller {
|
|||
maxOptions: null,
|
||||
create: allowAdd ? this.createItem.bind(this) : false,
|
||||
|
||||
// This three options allow us to paste element names with commas: (see issue #538)
|
||||
maxItems: 1,
|
||||
delimiter: "$$VERY_LONG_DELIMITER_THAT_SHOULD_NEVER_APPEAR$$",
|
||||
splitOn: null,
|
||||
|
||||
searchField: [
|
||||
{field: "text", weight : 2},
|
||||
{field: "parent", weight : 0.5},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue