Closed iamnithishraja closed 7 months ago
I don’t think that this is the right approach here. It looks like you are removing the “enter name” error message entirely. We would still want to show that error message if the user hits the submit button. What we want to do is tweak when the error shows so that it shows if the user is trying to submit the form in an invalid state but not if they are trying to close the form.
Fixes #2895
Changes: Clicking on cross icon or whitespace on create folder/create file modal not dosen't throw any validation error message.
I have verified that this pull request:
npm run lint
)npm run test
)develop
branch.Fixes #2895