-
-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v4] Error when logging in #5689
Comments
I can reproduce the issue only autofilled inputs in Firefox. Same for you as well? |
I think this is Firefox bug that introduced in v110 and will be fixed v118 (currently v117): https://bugzilla.mozilla.org/show_bug.cgi?id=1817926 |
Sadly not fixed in 118. I have a few clients using Firefox having this problem and not sure how to proceed. panel.plugin('app/site', {
components: {
'k-email-input': {
extends: 'k-email-input',
mounted() {
console.log('$props:', this.$props.value);
console.log('$listeners:', this.$listeners);
this.$refs.input.addEventListener('input', event => {
console.log('input', event.target.value);
this.onInput(event.target.value);
});
// for (let i = 0; i < 20; i++) {
// setTimeout(() => {
// console.log(i, this.$refs.input.value, this.$props.value);
// }, i);
// }
// setTimeout(() => {
// this.onInput(this.$refs.input.value);
// }, 20);
}
}
},
}); The listeners seem to be set correctly. I replicated the input event and the input value is actually correct. If you uncomment the last |
Just saw the title. This issue is not exclusive to v4 |
Hi, yes I didn't mention sorry. These are autofilled inputs, generated by NordPass Addon |
@distantnative I think this issue seems to have arisen again: #4962 |
@lukaskleinschmidt I've tested on 3.9.6.1 and works as expected (seems already fixed in #4962 but I think came back to with v4). The issue happened only in v4 for me. |
My bad. Just checked again. The version I tested on was the |
@distantnative Here related commit that broke the #4962 PR. |
Swapping v-model with value/@input should be quite the same. We need this also for Vue 3 so I don't think reverting it is an option. We'll need to find out where's the bug with Firefox. |
@distantnative out of curiosity. Why would you want/need to remove |
@lukaskleinschmidt Cause v-model undergoes a massive breaking change to my understanding - what events need to be emitted and to which prop the value gets passed. |
You mean from v2 to v3? Or additional changes down the road in v3? But From the Vue 2/3 docs:
So not sure what kind of additional magic is happening in the background that makes the |
v2 -> v3 Breaks completely any setup that allows external components (like plugin components) when using v-model |
@bastianallgeier what's your take on this: return to |
@distantnative I've found source of issue and have a great clue about the issue. I'm pretty sure that this issue is related with merging values. I'm sure you have the correct fix for that. Works great with the following change: - this.values = { ...this.value, [name]: value };
+ this.values[name] = value; |
@afbora could you test the fix on v4/fix/fieldset-reactivity? |
@bastianallgeier Login works great for me in Firefox 👍 |
I'll create a PR |
i found a workaround on beta 2. it has something todo with the autoprefill of the mail adress. if i add an blank at the and with my keyboard and delete it then the field gets "recognized" and the login works. but this only happens on a windows 10 machine in edge and firefox. on all macs i tested it works without any workaround. |
Description
I have installed the latest Beta, and created a new account by going to
/panel
and entering my details. When I log out and try to log back in using those credentials I get an "Invalid Login" error message.Expected behavior
A successful login
To reproduce
/panel
and create a new admin accountThis is the PHP error log of the login, it looks like the user email isn't being picked up:
Your setup
Kirby Version
V4 Beta 1
Your system (please complete the following information)
The text was updated successfully, but these errors were encountered: