Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

[WEB-784] chore: create workspace fields as required indication (#4003)

Lakhan Baheti4eefc7f692e3
diff --git a/web/components/workspace/create-workspace-form.tsx b/web/components/workspace/create-workspace-form.tsx
index ad0c050964..d8a443d4db 100644
--- a/web/components/workspace/create-workspace-form.tsx
+++ b/web/components/workspace/create-workspace-form.tsx
@@ -121,7 +121,10 @@ export const CreateWorkspaceForm: FC<Props> = observer((props) => {
<form className="space-y-6 sm:space-y-9" onSubmit={handleSubmit(handleCreateWorkspace)}>
<div className="space-y-6 sm:space-y-7">
<div className="space-y-1 text-sm">
- <label htmlFor="workspaceName">Workspace Name</label>
+ <label htmlFor="workspaceName">
+ Workspace Name
+ <span className="ml-0.5 text-red-500">*</span>
+ </label>
<Controller
control={control}
name="name"
@@ -153,7 +156,10 @@ export const CreateWorkspaceForm: FC<Props> = observer((props) => {
/>
</div>
<div className="space-y-1 text-sm">
- <label htmlFor="workspaceUrl">Workspace URL</label>
+ <label htmlFor="workspaceUrl">
+ Workspace URL
+ <span className="ml-0.5 text-red-500">*</span>
+ </label>
<div className="flex w-full items-center rounded-md border-[0.5px] border-custom-border-200 px-3">
<span className="whitespace-nowrap text-sm text-custom-text-200">{window && window.location.host}/</span>
<Controller
@@ -185,7 +191,9 @@ export const CreateWorkspaceForm: FC<Props> = observer((props) => {
)}
</div>
<div className="space-y-1 text-sm">
- <span>What size is your organization?</span>
+ <span>
+ What size is your organization?<span className="ml-0.5 text-red-500">*</span>
+ </span>
<div className="w-full">
<Controller
name="organization_size"