mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 12:09:23 +02:00
Fix #686: Added name attributes on all inputs to improve UX, especially with password managers
This commit is contained in:
parent
ca433fd90e
commit
4256d554e3
24 changed files with 29 additions and 20 deletions
|
@ -19,24 +19,28 @@
|
|||
</template>
|
||||
<input
|
||||
:id="setting.identifier"
|
||||
:name="setting.identifier"
|
||||
v-if="setting.field.widget.class === 'PasswordInput'"
|
||||
type="password"
|
||||
class="ui input"
|
||||
v-model="values[setting.identifier]" />
|
||||
<input
|
||||
:id="setting.identifier"
|
||||
:name="setting.identifier"
|
||||
v-if="setting.field.widget.class === 'TextInput'"
|
||||
type="text"
|
||||
class="ui input"
|
||||
v-model="values[setting.identifier]" />
|
||||
<input
|
||||
:id="setting.identifier"
|
||||
:name="setting.identifier"
|
||||
v-if="setting.field.class === 'IntegerField'"
|
||||
type="number"
|
||||
class="ui input"
|
||||
v-model.number="values[setting.identifier]" />
|
||||
<textarea
|
||||
:id="setting.identifier"
|
||||
:name="setting.identifier"
|
||||
v-else-if="setting.field.widget.class === 'Textarea'"
|
||||
type="text"
|
||||
class="ui input"
|
||||
|
@ -120,7 +124,6 @@ export default {
|
|||
|
||||
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
||||
<style scoped>
|
||||
|
||||
.ui.checkbox p {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue