remove console log
This commit is contained in:
parent
47d00e22af
commit
df0f41e560
1 changed files with 0 additions and 1 deletions
|
|
@ -20,7 +20,6 @@ export default {
|
||||||
* Identify the first error field and put focus on it
|
* Identify the first error field and put focus on it
|
||||||
* get error names array
|
* get error names array
|
||||||
*/
|
*/
|
||||||
console.log('Form submission prevented due to validation errors. Attempting to focus on the first invalid field.');
|
|
||||||
const errorNames = errors ? Object.keys(errors) : [];
|
const errorNames = errors ? Object.keys(errors) : [];
|
||||||
const firstErrorEl = errorNames[0];
|
const firstErrorEl = errorNames[0];
|
||||||
if (firstErrorEl) {
|
if (firstErrorEl) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue