Set focus to input field for login form#34050
Conversation
|
Carl suggested to use the Pull Request for component library (to forward autofocus attribute): nextcloud-libraries/nextcloud-vue#3245 I suggest to still merge this pull request and migrate to autofocus attribute as follow up. |
70426aa to
6e60e26
Compare
|
conflict :-/ |
6e60e26 to
c93521d
Compare
|
Recompiled to fix the conflicts 👻 |
|
Works from client/UI side 👍 |
|
@kesselb recompiling is not enough. You need to rebase first... (I made the same mistake recently...) |
Fix: - TypeError: this.$refs.user.focus is not a function - TypeError: this.$refs.password.focus is not a function Signed-off-by: Daniel Kesselberg <[email protected]>
c93521d to
3837019
Compare
|
Thanks for heads up 👍 #33512 changed core-common.js so another rebase and recompile is necessary ✌️ Should be good now. Let's hope nothing else is merged in the meantime 😎 |
|
@skjnldsv can we revert this after https://github.com/nextcloud/nextcloud-vue/releases/tag/v7.1.0-beta.1? |
Fix:
TypeError: this.$refs.user.focus is not a function
TypeError: this.$refs.password.focus is not a function
Fixes #34077