这是indexloc提供的服务,不要输入任何密码
Skip to content

[Bug]: required prop on CheckboxGroupRoot #2013

@Ericlm

Description

@Ericlm

Environment

Same as in issue #1777,
Reka 2.3.1

Link to minimal reproduction

https://github.com/Ericlm/reka-required-checkboxgroup

Steps to reproduce

  • Multiple Checkboxes in CheckboxGroupRoot
  • Setting the root as "required"
  • The form is submitted, event with an empty array

Describe the bug

The required prop on CheckboxGroup doesn't seem to un-trigger the submit event.

Expected behavior

The form should not be submitted if there is no checkbox checked.

Context & Screenshots (if applicable)

No response

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