Merge branch 'dev' of https://gitea.verdnatura.es/verdnatura/salix into 2145_e2e_linux_fix
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
commit
0ee4c4c907
|
@ -159,7 +159,8 @@ export default class Datalist extends Textfield {
|
||||||
}
|
}
|
||||||
|
|
||||||
return this.model.applyFilter(filter).then(() => {
|
return this.model.applyFilter(filter).then(() => {
|
||||||
if (this.validSelection(this.field)) {
|
const rows = this.model.data;
|
||||||
|
if (this.validSelection(this.field) && rows.length === 1) {
|
||||||
this.refreshSelection();
|
this.refreshSelection();
|
||||||
this.destroyList();
|
this.destroyList();
|
||||||
} else
|
} else
|
||||||
|
|
Loading…
Reference in New Issue