Revert "Merge branch 'fix/no-autocomplete-in-non-post-forms' into 'develop'"

This reverts merge request !551
This commit is contained in:
HJ 2019-02-14 19:15:59 +00:00
parent 98c5e4a9d0
commit 5d73a1dd06
6 changed files with 199 additions and 276 deletions

View file

@ -2,7 +2,6 @@ import { unescape } from 'lodash'
import TabSwitcher from '../tab_switcher/tab_switcher.js'
import StyleSwitcher from '../style_switcher/style_switcher.vue'
import AutoCompleteInput from '../autocomplete_input/autocomplete_input.vue'
import fileSizeFormatService from '../../services/file_size_format/file_size_format.js'
const UserSettings = {
@ -42,8 +41,7 @@ const UserSettings = {
},
components: {
StyleSwitcher,
TabSwitcher,
AutoCompleteInput
TabSwitcher
},
computed: {
user () {

View file

@ -9,9 +9,9 @@
<div class="setting-item" >
<h2>{{$t('settings.name_bio')}}</h2>
<p>{{$t('settings.name')}}</p>
<auto-complete-input :classObj="{ 'name-changer': true }" :id="'username'" v-model="newName"/>
<input class='name-changer' id='username' v-model="newName"></input>
<p>{{$t('settings.bio')}}</p>
<auto-complete-input :classObj="{ bio: true }" v-model="newBio" :multiline="true"/>
<textarea class="bio" v-model="newBio"></textarea>
<p>
<input type="checkbox" v-model="newLocked" id="account-locked">
<label for="account-locked">{{$t('settings.lock_account_description')}}</label>