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

Select doesn’t seem to set the selected option according to the value attribute #9896

Open
1 task done
giladvidal opened this issue Sep 18, 2024 · 1 comment
Open
1 task done
Labels
bug This issue is a bug in the code High Prio TOPIC P

Comments

@giladvidal
Copy link

Bug Description

When using Select/Option components, the value I set in 'value' in the Select is not set.

Affected Component

No response

Expected Behaviour

'value' should use the value.

Isolated Example

https://stackblitz.com/edit/github-hcyvzh?file=src%2FPageOne.jsx

Steps to Reproduce

  1. open the app
  2. select a value
  3. click to next page
  4. see the value not set
    ...

Log Output, Stack Trace or Screenshots

No response

Priority

High

UI5 Web Components Version

2.2.0

Browser

Edge

Operating System

Windows

Additional Context

No response

Organization

BDC-FOS

Declaration

  • I’m not disclosing any internal or sensitive information.
@giladvidal giladvidal added the bug This issue is a bug in the code label Sep 18, 2024
@IlianaB
Copy link
Member

IlianaB commented Sep 18, 2024

Hello @ui5-webcomponents-topic-p I am forwarding this issue to you, because it seems ui5-select does not react on value update.

Steps to reproduce are described above, although I believe the query parameter tenant_filter is not in sync with both pages, that's why I edited the sample a little: https://stackblitz.com/edit/github-hcyvzh-w5msb2?file=src%2FPageOne.jsx,src%2FPageTwo.jsx

Regards,
Iliana

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug in the code High Prio TOPIC P
Projects
Development

No branches or pull requests

2 participants