getumbrel / umbrel-dashboard

[Deprecated] Moved to https://github.com/getumbrel/umbrel/tree/master/packages/dashboard. Web-based dashboard to interact with your Umbrel.
https://github.com/getumbrel/umbrel/tree/master/packages/dashboard
Other
132 stars 69 forks source link

Select password input field on login page load and wrong password input #430

Closed fryheid closed 1 year ago

fryheid commented 1 year ago

As described in #429

$nextTick was used, otherwise the query selector is too fast for the DOM $el.querySelector('input') is used on $refs.password, because the <input-password> tag splits into a <div> and <input> tag where ref="password" is put on the <div> tag, while select() is needed on the <input> tag

mayankchhabra commented 1 year ago

Merged! Thanks, again @stakingpoolspace!