-
-
Notifications
You must be signed in to change notification settings - Fork 335
[form] Something in form prompt handling changed to asynchronous #2796
Copy link
Copy link
Closed
Labels
type/bugAny issue which is a bug or PR which fixes a bugAny issue which is a bug or PR which fixes a bug
Milestone
Description
Bug Report
After v2.9.2 some code allowing race condition was introduced.
With https://cdn.jsdelivr.net/npm/fomantic-ui@2.9.2/dist/semantic.js there is no problem. With https://cdn.jsdelivr.net/npm/fomantic-ui@2.9.3-beta.35/dist/semantic.js the problem is present.
This is important as before AJAX/submit, prompts are removed but AJAX response can add them back quickly.
Steps to reproduce
- open https://jsfiddle.net/mL3ko1st/1/
- click "Save"
- notice prompt displayed with text: "some error action 45"
- click "Save" again, notice the prompt is gone
Expected result
prompt must stay as in v2.9.2
Version
>2.9.2 <2.9.3, ie. develop between these releases
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type/bugAny issue which is a bug or PR which fixes a bugAny issue which is a bug or PR which fixes a bug