Skip to content

Categorization Stepper of React Material broken for conditional categories #1777

@sdirix

Description

@sdirix

Describe the bug

When an "inbetween" category is removed via a hide rule the Next button will still navigate to it.

Expected behavior

Next should navigate to the correct next categorization. The stepper indicators are already correctly indicated so it should be rather straightforward to fix.

Steps to reproduce the issue

Can be reproduced in the last categorization example https://jsonforms.io/examples/categorization/

  1. Uncheck Provide Address
  2. Check Vegetarian
  3. Click Next

Screenshots

image

Address category is shown although it should have transitioned to Additional

In which browser are you experiencing the issue?

Chrome (latest)

Framework

React

RendererSet

Material

Additional context

Code can be found here

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions