瀏覽代碼

Focus on select field after populating data

kkthxbye-code 3 年之前
父節點
當前提交
93c30c94b3

文件差異過大導致無法顯示
+ 0 - 0
netbox/project-static/dist/netbox.js


文件差異過大導致無法顯示
+ 0 - 0
netbox/project-static/dist/netbox.js.map


+ 1 - 0
netbox/project-static/src/select/api/apiSelect.ts

@@ -411,6 +411,7 @@ export class APISelect {
     } finally {
       this.setOptionStyles();
       this.enable();
+      this.slim.slim.search.input.focus();
       this.base.dispatchEvent(this.loadEvent);
     }
   }

部分文件因文件數量過多而無法顯示