Merge branch 'fix/no-autocomplete-in-non-post-forms' into 'develop'
#255 - implement autocomplete in non post forms See merge request pleroma/pleroma-fe!551
This commit is contained in:
commit
2bc1cc9ff9
6 changed files with 276 additions and 199 deletions
|
@ -2,6 +2,7 @@ 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 = {
|
||||
|
@ -41,7 +42,8 @@ const UserSettings = {
|
|||
},
|
||||
components: {
|
||||
StyleSwitcher,
|
||||
TabSwitcher
|
||||
TabSwitcher,
|
||||
AutoCompleteInput
|
||||
},
|
||||
computed: {
|
||||
user () {
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
<div class="setting-item" >
|
||||
<h2>{{$t('settings.name_bio')}}</h2>
|
||||
<p>{{$t('settings.name')}}</p>
|
||||
<input class='name-changer' id='username' v-model="newName"></input>
|
||||
<auto-complete-input :classObj="{ 'name-changer': true }" :id="'username'" v-model="newName"/>
|
||||
<p>{{$t('settings.bio')}}</p>
|
||||
<textarea class="bio" v-model="newBio"></textarea>
|
||||
<auto-complete-input :classObj="{ bio: true }" v-model="newBio" :multiline="true"/>
|
||||
<p>
|
||||
<input type="checkbox" v-model="newLocked" id="account-locked">
|
||||
<label for="account-locked">{{$t('settings.lock_account_description')}}</label>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue