Skip to content

Nested option groups throw with "template or render function not defined" on input #2545

@RevyakinMB

Description

@RevyakinMB
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.6.3

Environment

Ubuntu 18.04.1/Firefox 78.0.1/AntD 1.6.3; codesandbox.io

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  • include SelectOptGroup into another SelectOptGroup of Select component;
  • start typing one of the options' value (11, 12, ...) into Select.

What is expected?

Nothing should change apart from text typed in.

What is actually happening?

Content of nested SelectOptGroups disappears, nested SelectOptGroups start displaying like if they were SelectOption components and console contains error messages: "Failed to mount component: template or render function not defined."

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions