mirror of
https://github.com/docmost/docmost.git
synced 2025-11-17 14:21:08 +10:00
Allow creation of space
* other fixes and cleanups
This commit is contained in:
@ -54,14 +54,24 @@ export function EditSpaceForm({ space, readOnly }: EditSpaceFormProps) {
|
||||
label="Name"
|
||||
placeholder="e.g Sales"
|
||||
variant="filled"
|
||||
readOnly={readOnly}
|
||||
{...form.getInputProps("name")}
|
||||
/>
|
||||
|
||||
<TextInput
|
||||
id="slug"
|
||||
label="Slug"
|
||||
variant="filled"
|
||||
readOnly
|
||||
value={space.slug}
|
||||
/>
|
||||
|
||||
<Textarea
|
||||
id="description"
|
||||
label="Description"
|
||||
placeholder="e.g Space for sales team to collaborate"
|
||||
variant="filled"
|
||||
readOnly={readOnly}
|
||||
autosize
|
||||
minRows={1}
|
||||
maxRows={3}
|
||||
|
||||
Reference in New Issue
Block a user