title: how to be not hardcoded for Buefy type in vue.js
body: <pre><code>&lt;b-checkbox v-model=&quot;selectedTiers&quot; :native-value=&quot;i&quot; type=&quot;checkType(i)&quot; @input=&quot;update&quot;&gt;
      {{ $t('general.specificTier', { tier: i }) }}
  &lt;/b-checkbox&gt;
  </code></pre>
  <p>Hi everyone, I am using Buefy and Vue.js. I want the type to be flexible. That is why I am using the method here. according to different I, it outputs a different string. But type here doesn't recognize the method here. I also can't use string + string here.</p>
  <p><a href="https://buefy.org/documentation/checkbox/#types" rel="nofollow noreferrer">Here is information</a> about checkbox of buefy.</p>