Skip to content

Instantly share code, notes, and snippets.

Valentino Stillhardt Fusseldieb

View GitHub Profile
@Fusseldieb
Fusseldieb / select2-custom.vue
Last active Nov 28, 2018
A custom select2 component which is ready to be used
View select2-custom.vue
<!--
Access it with: <select2 v-model="field.value" :options="field.options" :tags="true"></select2>
A object exists with following structure:
field: {
value: "",
options: [
{ id: "0", text: "No" },
{ id: "5", text: "5 mm" },
{ id: "10", text: "10 mm" }
You can’t perform that action at this time.