RadioPicker

This component allows you to select an option from a set

Example

RadioPicker

export default {
  name: "App",
  data() {
    return {
      form: {
        servicesDefinition: {
          type: RadioPicker,
          default: null,
          "field-wrapper": { class: "is-12" },
          "field-input": {
            label: label,
            options: {
              true: this.$t("trueText"),
              false: this.$t("falseText"),
              null: this.$t("anyLabel"),
            },
            customClass: "group-is-block",
          },
        },
      },
    };
  },
};

Props

NameDescriptionTypeRequiredDefault
optionsItemsObjectfalsenull
typeType (color) of the control, optionalStringfalsenull
value-String / Numberfalsenull
isDisabled-Booleanfalsefalse
label-Stringfalse""
isRequired-Booleanfalsefalse
validationMode-Stringfalse"aggressive"
customClass-Stringfalse""

Events

Event NameDescriptionParameters
input--