GodziLaravel's avatar

VueJS: how to change the value of input text (dynamic element) from method

Hello ,

I would like to change the input value but I dont know how to access it ?

when I console this :

console.log(this.$refs.allMembers.$el);

it returns me :

<div data-v-5ea704dc="" class="VueTables VueTables--client">
    <div class="row">
        <div class="col-md-12">
            <div class="form-group form-inline pull-left VueTables__search">
                <div class="VueTables__search-field">
                    <label for="VueTables__search_xUsZ0" class=""></label>
                    <input type="text" placeholder="Search query" id="VueTables__search_xUsZ0" class="form-control ">
              ....

I need to change the Input value

0 likes
2 replies
GodziLaravel's avatar

@jeffh

Thanks , but this element is created automatically , I cant add something on it

Please or to participate in this conversation.