mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 07:33:36 +08:00
0f807ba85b
On some modals the main/primary input field is a select-kit component (like `{{email-group-user-chooser}}` on the assign modal), so it makes sense to allow select-kit to steal focus on modals like these. This PR adds an `autofocus` option (default false) that allows select-kit to steal focus when it's rendered. |
||
---|---|---|
.. | ||
components | ||
mixins | ||
templates/components | ||
.gitkeep |