Skip to content

Commit

Permalink
add visibility hint
Browse files Browse the repository at this point in the history
  • Loading branch information
ciyer committed Nov 1, 2023
1 parent 2dc9bb9 commit a32db6a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions client/src/features/spaces/new/SpaceNewForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,19 @@ function SpaceNewAccessStepForm({ currentStep }: SpaceNewFormProps) {
)}
rules={{ required: true }}
/>
{errors.visibility ? null : (
<FormText className="input-hint">
Should the space be visible to everyone or only to members?
</FormText>
)}
<div className="invalid-feedback">Please select a visibility</div>
</div>
<div className="mb-3">
<Label className="form-label" for="spaceNewForm-name">
Users
</Label>

<FormText className="input-hint">Who has access to the space?</FormText>
<div className="invalid-feedback">Please select a visibility</div>
</div>
<SpaceFormSubmitGroup currentStep={currentStep} />
Expand Down

0 comments on commit a32db6a

Please sign in to comment.