mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 19:15:04 +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. |
||
---|---|---|
.. | ||
addon | ||
app | ||
config | ||
ember-cli-build.js | ||
index.js | ||
package.json | ||
yarn.lock |