standardize max length
This commit is contained in:
parent
6f031f1059
commit
adea46640e
@ -39,7 +39,7 @@ export class Home extends LiteElement {
|
||||
@state()
|
||||
private isSubmittingNewOrg = false;
|
||||
|
||||
private readonly validateOrgNameMax = maxLengthValidator(50);
|
||||
private readonly validateOrgNameMax = maxLengthValidator(40);
|
||||
|
||||
connectedCallback() {
|
||||
if (this.authState) {
|
||||
|
@ -73,7 +73,7 @@ export class OrgForm extends TailwindElement {
|
||||
<div class="mb-5">
|
||||
<sl-input
|
||||
name="orgName"
|
||||
label=${msg("Org name")}
|
||||
label=${msg("Org Name")}
|
||||
placeholder=${msg("My Organization")}
|
||||
autocomplete="off"
|
||||
value=${this.name === this.orgId ? "" : this.name}
|
||||
@ -86,7 +86,7 @@ export class OrgForm extends TailwindElement {
|
||||
<div class="mb-5">
|
||||
<sl-input
|
||||
name="orgSlug"
|
||||
label=${msg("Custom URL identifier")}
|
||||
label=${msg("Custom URL Identifier")}
|
||||
placeholder="my-organization"
|
||||
autocomplete="off"
|
||||
value=${this.slug}
|
||||
|
Loading…
Reference in New Issue
Block a user