fix: limit workspace name length when created, fixed #809
This commit is contained in:
1 parent
de43f3f0e2
commit
ab4feb04ba
1 file changed
+1
-1
@@ -58,7 +58,7 @@ export const CreateWorkspaceModal = ({ open, onClose }: ModalProps) => {
|
|||||||
onKeyDown={handleKeyDown}
|
onKeyDown={handleKeyDown}
|
||||||
placeholder={t('Set a Workspace name')}
|
placeholder={t('Set a Workspace name')}
|
||||||
onChange={value => {
|
onChange={value => {
|
||||||
setWorkspaceName(value);
|
setWorkspaceName(value.slice(0, 15));
|
||||||
}}
|
}}
|
||||||
></Input>
|
></Input>
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
Reference in new issue
Block a user