Skip to content

Commit

Permalink
Remove obsolete 'mandatory' prop in form field components
Browse files Browse the repository at this point in the history
  • Loading branch information
nas-tabchiche committed Apr 26, 2024
1 parent 66f707d commit 7553c20
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion frontend/src/routes/(app)/libraries/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
<FileInput
{form}
helpText={m.libraryFileInYaml()}
mandatory={true}
field="file"
label={m.uploadYourLibrary()}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,12 @@
validators={zod(SetPasswordSchema)}
>
<input class="input" type="hidden" name="user" value={getUUID()} />
<TextField type="password" {form} field="new_password" label={m.newPassword()} mandatory />
<TextField type="password" {form} field="new_password" label={m.newPassword()} />
<TextField
type="password"
{form}
field="confirm_new_password"
label={m.confirmNewPassword()}
mandatory
/>
<p class="pt-3">
<button
Expand Down

0 comments on commit 7553c20

Please sign in to comment.