ContentSelectColumnComponent

Uses the b-select component, see Buefy documentation

Example

ContentSelectColumnComponent

<template>
  <div>
    <section>
      <server-table-component
        data-url="/services"
        v-bind="servicesDefinition"
      />
    </section>
  </div>
</template>;

export default {
  name: "App",
  data() {
    return {
      servicesDefinition: {
        vtable: {
          headers: [
            {
              text: "Service Id",
              value: "service_Id",
              align: "left",
              render: {
                type: ContentSelectColumnComponent,
                props: {
                  optionItems: [],
                  optionId: "requestState",
                  optionName: "name",
                  locale: this.$i18n.locale,
                },
                events: {
                  "selection-update": (state) => {},
                  focus: (v) => {},
                  blur: () => {},
                },
              },
              sortable: true,
              class: "white-space-nowrap",
            },
          ],
        },
      },
    };
  },
};

Props

NameDescriptionTypeRequiredDefault
value-false-
isRequired-Booleanfalsefalse
optionIdOption idStringfalseundefined
optionNameOption nameStringfalseundefined
optionItemsOption itemsArrayfalse
size-Stringfalse"is-small"
localeLocale string {en, es ...} for display language on componentStringfalse"en"
disabled-Booleanfalsefalse

Events

Event NameDescriptionParameters
selection-update--