how to access vuejs refs if ref value has bracket character [duplicate]

This question already has an answer here: JavaScript property access: dot notation vs. brackets? 13 answers I would like to access the ref of input, but still getting undefined. // sample in template template: <input type=”text” class=”form-control form-control-sm” v-bind:value=meminfo.last_name name=”online_membership[last_name]” ref=”online_membership[last_name]” > Script: methods() { function() { // i would like to access the input…

Details