fix(setup-wizard): Validate abbr length before switching to next slide
This commit is contained in:
parent
e3136c38e1
commit
40c15348da
@ -97,6 +97,9 @@ erpnext.setup.slides_settings = [
|
|||||||
if (!this.values.company_abbr) {
|
if (!this.values.company_abbr) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (this.values.company_abbr.length > 5) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user