You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue:
After the "Signup" screen, the "Create Workspace" screen does not submit values if you hit enter.
Description:
The form is being submitted with evt.Key='Enter'. form tag has its own submission which should be invalidated if evt.Key is being used to submit the form.
Why Form.svelte is not giving this issue for login and signup?
Possibly because those operations do not take that long and navigation happens very quickly. In case of Workspace creation, it takes a few seconds
Reference:
Solution:
We should add evt.preventDefault() on this keydown function.
Issue:
After the "Signup" screen, the "Create Workspace" screen does not submit values if you hit enter.
Description:
The form is being submitted with evt.Key='Enter'. form tag has its own submission which should be invalidated if evt.Key is being used to submit the form.
Submission function for reference:
#https://github.com/hcengineering/platform/blob/main/plugins/login-resources/src/components/Form.svelte#L137-L145
Why Form.svelte is not giving this issue for login and signup?
Possibly because those operations do not take that long and navigation happens very quickly. In case of Workspace creation, it takes a few seconds
Reference:
Solution:
We should add evt.preventDefault() on this keydown function.
Updated code:
The text was updated successfully, but these errors were encountered: