fix(setup-wizard): Validate abbr length before switching to next slide

This commit is contained in:
Faris Ansari 2018-12-06 07:37:32 +05:30
parent e3136c38e1
commit 40c15348da

View File

@ -97,6 +97,9 @@ erpnext.setup.slides_settings = [
if (!this.values.company_abbr) {
return false;
}
if (this.values.company_abbr.length > 5) {
return false;
}
return true;
}
},