Skip to content

Commit

Permalink
Add names to user form fields for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Oct 22, 2024
1 parent 3fdf6fe commit 74e77bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/views/UserForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<template v-if="form.type !== 'api'">
<div class="box">
<b-field>
<b-checkbox v-model="form.passwordLogin" :native-value="true">
<b-checkbox v-model="form.passwordLogin" :native-value="true" name="password_login">
{{ $t('users.passwordEnable') }}
</b-checkbox>
</b-field>
Expand Down Expand Up @@ -85,7 +85,7 @@
<div class="columns">
<div class="column is-6">
<b-field :label="$tc('users.userRole')" label-position="on-border">
<b-select v-model="form.userRoleId" name="role" required expanded>
<b-select v-model="form.userRoleId" name="user_role" required expanded>
<option v-for="r in userRoles" :value="r.id" :key="r.id">
{{ r.name }}
</option>
Expand All @@ -95,7 +95,7 @@

<div class="column is-6">
<b-field :label="$tc('users.listRole', 0)" label-position="on-border">
<b-select v-model="form.listRoleId" name="role" expanded>
<b-select v-model="form.listRoleId" name="list_role" expanded>
<option value="">&mdash; {{ $t("globals.terms.none") }} &mdash;</option>
<option v-for="r in listRoles" :value="r.id" :key="r.id">
{{ r.name }}
Expand Down

0 comments on commit 74e77bd

Please # to comment.