bitfoundation / bitplatform

Build all of your apps using what you already know and love ❤️
https://bitplatform.dev
MIT License
1.04k stars 216 forks source link

Input characters are deleted during entry - Render Mode Server only #7805

Closed techscx closed 1 week ago

techscx commented 2 weeks ago

Is there an existing issue for this?

Describe the bug

During text input, e.g. logging in, characters are deleted while validation is done.

Expected Behavior

Input should not be influenced.

Steps To Reproduce

https://github.com/bitfoundation/bitplatform/assets/71921910/7e34a458-6c79-4c95-b180-467238693200

Exceptions (if any)

None.

.NET Version

8.0.301

Anything else?

No response

msynk commented 2 weeks ago

@techscx Thanks for contacting us. We know about this issue. This problem is related to how BlazorServer works, and an issue already exists for it (https://github.com/bitfoundation/bitplatform/issues/7660). We are already working on a PR (https://github.com/bitfoundation/bitplatform/pull/7804) to remedy this issue by providing a new feature for disabling Immediate feedback of the inputs to lessen the problem you've shown in this issue.

techscx commented 2 weeks ago

@techscx Thanks for contacting us. We know about this issue. This problem is related to how BlazorServer works, and an issue already exists for it (#7660). We are already working on a PR (#7804) to remedy this issue by providing a new feature for disabling Immediate feedback of the inputs to lessen the problem you've shown in this issue.

Oh, thank you for clarification.

I have already setup an variant for just verifying the input on send in case of server-render mode.

Initially during webassembly first load, the render mode is server as well.

msynk commented 1 week ago

@techscx the new prerelease that resolves this issue is now available. you can now use the inputs without Immediate binding while typing so this problem should not be happening anymore.

techscx commented 1 week ago

Thank you!

@techscx the new prerelease that resolves this issue is now available. you can now use the inputs without Immediate binding while typing so this problem should not be happening anymore.