Add a timeout to select2 queries
This commit is contained in:
parent
9dd5d1d04f
commit
068471003d
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ const baseOptions = {
|
|||
|
||||
const baseAjaxOptions = {
|
||||
delay: 250,
|
||||
timeout: 10 * 1000, // 10 sec
|
||||
cache: true,
|
||||
data({ term: nom }) {
|
||||
return {
|
||||
|
|
Loading…
Add table
Reference in a new issue