Describe the bug
disable submit button upon 1st press until request is complete. user tends to press submit button serveral times, when there's bit of a lag, which resutls multiple refId or duplicate refIds.
To Reproduce
(this is more likely to take place on the live server, under slow internet connection or internet connection lag.
Steps to reproduce the behavior:
Go to 'create' and fill the form
Click on 'submit'
Go to 'home'
Look for multiple refId for same data entered or duplicate refIds.
Expected behavior
Set a loading on submit button upon first click until the request is complete.
Describe the bug disable submit button upon 1st press until request is complete. user tends to press submit button serveral times, when there's bit of a lag, which resutls multiple refId or duplicate refIds.
To Reproduce (this is more likely to take place on the live server, under slow internet connection or internet connection lag. Steps to reproduce the behavior:
Expected behavior Set a loading on submit button upon first click until the request is complete.