make bio field auto-complete

このコミットが含まれているのは:
Xiaofeng An 2019-02-08 10:50:27 -05:00
コミット 2d91c9d949
2個のファイルの変更4行の追加2行の削除

ファイルの表示

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

ファイルの表示

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