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