A
A
Analka2019-10-07 12:44:45
Vue.js
Analka, 2019-10-07 12:44:45

Pass to vuejs variable from laravel filemanager?

How to assign the value selected in the vue file manager to the image variable, with such an entry it is empty after selecting an image until you enter characters

<div class="s--header">
           <p>Аватар <span class="red-req">*</span></p>
           <a id="filemanager" data-input="thumbnail" data-preview="holder" class="btn-upload">
              Добавить аватар
           </a>
           <input type="text" v-model="image" name="avatar" id="thumbnail" value="">
           <img id="holder" src="">
        </div>

until you enter at least one character in the text field, the image value will not be updated

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question