Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Values are modified in readonly mode when they are defined with oneOf #4460

Closed
4 tasks done
cperotAxway opened this issue Jan 22, 2025 · 0 comments · Fixed by #4463
Closed
4 tasks done

Values are modified in readonly mode when they are defined with oneOf #4460

cperotAxway opened this issue Jan 22, 2025 · 0 comments · Fixed by #4463
Labels

Comments

@cperotAxway
Copy link

cperotAxway commented Jan 22, 2025

Prerequisites

What theme are you using?

core

Version

5.x

Current Behavior

in readonly mode the dropdown for the oneOf is not disabled.
Changing the value there reset the fields.

Expected Behavior

dropdown should be disabled or at least fields should not be reset.

Steps To Reproduce

  1. open this playground:

Playground readonly

  1. switch the value in the dropdown to Option 2
  2. switch back to Option 1
  3. Values are reset

Environment

- OS: ubuntu 22.04
- Node: 18
- npm:10.8.3

Anything else?

No response

@cperotAxway cperotAxway added bug needs triage Initial label given, to be assigned correct labels and assigned labels Jan 22, 2025
@nickgros nickgros removed the needs triage Initial label given, to be assigned correct labels and assigned label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants