Skip to content

adding multiple checkboxes #338

Open
@0XONE

Description

@0XONE

Hi, I'm trying to add multiple checkboxes option just in radio input type, here is my code:

file: /src/formBuilder/defaults/defaultInputs.js
code:

  checkbox: {
    displayName: 'Checkbox',
    matchIf: [
      {
        types: ['string','array', 'boolean'],
        enum:true,
      },
    ],
    defaultDataSchema: {enum:[]},
    defaultUiSchema: {
    'ui:widget' : 'checkboxes' 
    },
    type: 'string',
    cardBody: MultipleChoice,
    modalBody: CardDefaultParameterInputs,
  },

it returns Duplicate Hash error message, what is the valid solution to this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions