fix: workspace name and breadcrumb title , refactor: command palette (#290)
* refactor: command pallette * fix: workspace name trim * fix: breadcrumb title responsiveness added
This commit is contained in:
parent
6ed5c05164
commit
a28be95002
3 changed files with 14 additions and 14 deletions
|
|
@ -107,7 +107,10 @@ const CreateWorkspace: NextPage = () => {
|
|||
placeholder="Enter name"
|
||||
autoComplete="off"
|
||||
onChange={(e) =>
|
||||
setValue("slug", e.target.value.toLocaleLowerCase().replace(/ /g, "-"))
|
||||
setValue(
|
||||
"slug",
|
||||
e.target.value.toLocaleLowerCase().trim().replace(/ /g, "-")
|
||||
)
|
||||
}
|
||||
validations={{
|
||||
required: "Workspace name is required",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue