瀏覽代碼

Merge pull request #9696 from kkthxbye-code/fix-9632

Fixes #9632 - Focus on select field after populating data
Jeremy Stretch 3 年之前
父節點
當前提交
85cab8d9b0

文件差異過大導致無法顯示
+ 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 {
     } finally {
       this.setOptionStyles();
       this.setOptionStyles();
       this.enable();
       this.enable();
+      this.slim.slim.search.input.focus();
       this.base.dispatchEvent(this.loadEvent);
       this.base.dispatchEvent(this.loadEvent);
     }
     }
   }
   }

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