feat: compose form improvements (#13668)

This commit is contained in:
Sivin Varghese
2026-04-14 16:36:06 +05:30
committed by aakashb95
parent b1069d9624
commit cf1cfa6ca0
18 changed files with 354 additions and 73 deletions
+2 -2
View File
@@ -57,14 +57,14 @@ class ContactAPI extends ApiClient {
return axios.post(`${this.url}/${contactId}/labels`, { labels });
}
search(search = '', page = 1, sortAttr = 'name', label = '') {
search(search = '', page = 1, sortAttr = 'name', label = '', options = {}) {
let requestURL = `${this.url}/search?${buildContactParams(
page,
sortAttr,
label,
search
)}`;
return axios.get(requestURL);
return axios.get(requestURL, { signal: options.signal });
}
active(page = 1, sortAttr = 'name') {