I need to add text input boxes aligned horizontally on the click of a button Every time i click "add attribute" a new input box should be created but placed horizontally right the previous input box. Is there a way to do this in vue.js
This adds input boxes, but vertically one below the other, i want them to be horizontally aligned
<hr>
<div class="md-layout">
<md-button v-on:click="addKey" class="md-raised md-primary">Add Attribute</md-button>
</div>
<md-content class="md-scrollbar" style="max-width:90vh; overflow: auto">
<div class="md-layout" v-for="value, index in keyList">
<md-field>
<md-input type="text" v-model="value.key" v-bind:id="'keyInput' + index" @keyup.enter="searchKey(value.key, index)"
@focus="updateKey(index)">
</md-input>
<md-input type="text" v-model="value.key" v-bind:id="'keyInput' + index" @keyup.enter="searchKey(value.key, index)"
@focus="updateKey(index)">
</md-input>
<md-button class="md-raised md-primary" :id="'keyButton' + index" @click="removeKey(index)"> X </md-button>
</md-field>
</div>
addKeymethod? @Developer