<template> <div class="input-group"> <input type="text" :id="'date_time_' + _uid" class="form-control" autocomplete="off"> <div class="input-group-addon"> <i :class="icons…C’est la “Vue”246Valentin BicaAlex SokolovFollowJul 24, 2017 · 1 min readYou don’t need set id like this. You can get access to DOM element through $refs