Skip to content

React Material Date control breaks once "Clear" is pressed #2278

@lukasf

Description

@lukasf

Describe the bug

Once you clear out the value of a date control, the control becomes completely unusable. The date picker does not come up at all.

Expected behavior

When clicking into the date control after its value was cleared, the date picker should come up.

Steps to reproduce the issue

  1. Open the "Control" example
  2. Click on the date to open the picker
  3. Click "Clear"
  4. Now click on the control again. Picker does not come up, no matter what you do.

Screenshots

No response

Which Version of JSON Forms are you using?

v3.2.0

Framework

React

RendererSet

Material

Additional context

This did not occur in 3.1.0.

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