0👍
✅
The answer is to use the inline form attribute and not the el-input option.
<el-form
ref="stateForm"
:inline="true"
:model="commentForm"
:rules="rules"
>
<el-select v-model="selectModel" placeholder="please select">
<el-option
v-for="(v, v_index) in optionsConstant"
:key="v_index"
:label="v"
:value="v_index"
/>
</el-select>
<el-button type="primary" @click="submitForm('stateForm')">Submit</el-button>
</el-form>
Source:stackexchange.com