VueJS using the parent Name tag on the children

0

Here is an example input:

<input name="TESTE" id="TESTE" placeholder="TESTE">

How can I do something like this not to repeat the same name several times?
Type this below:

<div name="TESTE">
    <input :name="parent.name" :id="parent.name" :placeholder="parent.name">
</div>

I do not want to use data of vue, neither components, nor anything ... Is there any way to do this using plain and simple HTML as the example above?

Thank you !!!

    
asked by anonymous 26.12.2017 / 15:14

0 answers