How can I programmatically select the select menu?
Solution 1:
In mounted hook initialize the bound property rules[0].attribute
to the first item of attributes
:
mounted(){
this.$set(this.rules,0,{...this.rules[0],attribute:this.attributes[0]})
}