forked from github/plane
[WEB-1417] chore: fix size updating issue on create workspace form when multiple errors are shown. (#4575)
This commit is contained in:
parent
b57432818d
commit
3ef67acb92
@ -224,9 +224,9 @@ export const CreateWorkspace: React.FC<Props> = (props) => {
|
|||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
<p className="text-sm text-onboarding-text-300">You can only edit the slug of the URL</p>
|
<p className="text-sm text-onboarding-text-300">You can only edit the slug of the URL</p>
|
||||||
{slugError && <span className="-mt-3 text-sm text-red-500">Workspace URL is already taken!</span>}
|
{slugError && <p className="-mt-3 text-sm text-red-500">Workspace URL is already taken!</p>}
|
||||||
{invalidSlug && (
|
{invalidSlug && (
|
||||||
<span className="text-sm text-red-500">{`URL can only contain ( - ), ( _ ) & alphanumeric characters.`}</span>
|
<p className="text-sm text-red-500">{`URL can only contain ( - ), ( _ ) & alphanumeric characters.`}</p>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<hr className="w-full border-onboarding-border-100" />
|
<hr className="w-full border-onboarding-border-100" />
|
||||||
|
@ -188,9 +188,9 @@ export const CreateWorkspaceForm: FC<Props> = observer((props) => {
|
|||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
{slugError && <span className="-mt-3 text-sm text-red-500">Workspace URL is already taken!</span>}
|
{slugError && <p className="-mt-3 text-sm text-red-500">Workspace URL is already taken!</p>}
|
||||||
{invalidSlug && (
|
{invalidSlug && (
|
||||||
<span className="text-sm text-red-500">{`URL can only contain ( - ), ( _ ) & alphanumeric characters.`}</span>
|
<p className="text-sm text-red-500">{`URL can only contain ( - ), ( _ ) & alphanumeric characters.`}</p>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<div className="space-y-1 text-sm">
|
<div className="space-y-1 text-sm">
|
||||||
|
Loading…
Reference in New Issue
Block a user