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

In Version 5.20. DropDown control show previous value if bound value is null or undefined #72

Open
baminmru opened this issue Apr 3, 2018 · 3 comments

Comments

@baminmru
Copy link
Contributor

baminmru commented Apr 3, 2018

I'm submitting a...


[X] Regression (a behavior that used to work and stopped working in a new release)
[X] Bug report  
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request

Current behavior

Case 1:
I use same form for edit and create new records.
I open record for edit. I close form, and after open form for new record. All Dropdown controls show values from edited record. Controls not empty. And I see some values in dropdown. If now I save new record values in record ( in data base) stay empty.
Case 2:
If I edit record where bound field is set, I see right values at dropdown.
If after that I open form for record where bound values is null, I see values from previous record.

Expected behavior

Dropdown clear text iv bound value is null or undefined

Minimal reproduction of the problem with instructions

For bug reports please provide the STEPS TO REPRODUCE and if possible a MINIMAL DEMO of the problem via
https://plnkr.co or similar (you can use Our Amexio Plunker as a starting point: http://plnkr.co/edit/M9AeGH?p=info)

What is the motivation / use case for changing the behavior?

Environment


Angular version: 6.1.9


Browser:
- [ x] Chrome (desktop) version 80
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ x] Firefox version 75
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
 
For Tooling issues:
- Node version 12.16.0 
- Platform:  Windows 

Others:

@baminmru baminmru closed this as completed Apr 3, 2018
@baminmru
Copy link
Contributor Author

baminmru commented Apr 3, 2018

drop down work ok in 4.1.3

@baminmru baminmru reopened this Apr 17, 2020
@baminmru baminmru changed the title DropDown control show previous value if bound value is null or undefined In Version 5.20. DropDown control show previous value if bound value is null or undefined Apr 17, 2020
@baminmru
Copy link
Contributor Author

This problem is returned back.

@baminmru baminmru reopened this Apr 17, 2020
@baminmru
Copy link
Contributor Author

Here is screenshots of edit form with right dropdown values, and wrong values if bound fields is null.
OK
WrongValues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant