fix(Create Edit): fixing the console error that sometimes occurs when scrolling the page to the first error