Closed anastk-code4 closed 3 months ago
Additional validation was added to prevent erasing the text without error. As discussed w @overeha, if someone wants to reset, will just copy paste from ONGHub. The "reset" method can be easily implemented in the future as we already have it when creating the account.
Close for now.
Description
As an AdminONG in the TEO web app, I edited the pre-filled (pulled from ONGHub) description to a personalised one and saved the changes. Then, I edited the description again - this time I deleted all text inputed and saved changes. I received a notification saying "Descrierea organizatiei a fost actualizata", but the changes were not made - the description is still the last one inputted, and not reseted to default.
Test environment
Web
Preconditions
Have AdminONG user. Have access to TEO.
Test Data
not neccessary
Steps of Reproduction
Expected Result
NGO description is reset to its default value (the one prefilled from ONGHub)
Actual Result
NGO description is the last one successfully saved, before removing all text.
Notes (optional)
Screenshots (optional)