latest version

Radio Group

Radio Group option type.

Fields

Name Type Required Description
choices array yes List of items to choose from. Please checkout Choices structure.

DefaultValue

Name Type Default Description
value string|number   A string or number value.

Choices structure

Name Type Default Description
value string|number * Any string or number value.
icon string * Radio item icon.
title string   A valid value title.

Usage

{
  id: "style",
  label: "Style",
  type: "radioGroup",
  choices: [
    {
      value: "simple",
      icon: "nc-counter-style-1"
      title: "Simple",
    },
    {
      value: "radial",
      icon: "nc-counter-style-2"
      title: "Radial",
    },
    {
      value: "empty",
      icon: "nc-counter-style-3"
      title: "Empty",
    },
    {
      value: "pie",
      icon: "nc-counter-style-4"
      title: "Pie",
    }
  ],
},