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

selected lookup field is getting refreshed when setStatus is touched for opening the dialogue. #729

Closed
kumar-prashant16 opened this issue Jun 17, 2019 · 6 comments
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@kumar-prashant16
Copy link

Describe the bug
after selecting the lookup data, it filters accourding to data, but when opening the dialogue box, which is get triggered by setState, its resetting the lookup field selection to normal.
To Reproduce
Steps to reproduce the behavior:

  1. Go and select the Lookup field
  2. Click on Open dialogue module, which should be on row data
  3. You can see that, the selected Lookup field data is gone, and resetted to normal, even if we didnt touched the lookup data.
  4. See error in images.

Expected behavior
the lookup data filter value should be retained, as it was, when ever the data is set through setState method.
Screenshots
Added Screen sort.

Desktop (please complete the following information):

  • OS: windows10
  • Browser: chrome
  • Version : 75.0.3770.90

Smartphone (please complete the following information):
NA
Step 2 - after clicking on openmodel, lookup field selection gets refreshed
Step-1_selecting the lookup filter value

Additional context
Add any other context about the problem here.

@kumar-prashant16
Copy link
Author

please help resolving it.
steps in decreasing order image.

@kumar-prashant16
Copy link
Author

@mbrn how do i solve it?

If there is a filter selected and there is an popup dialogue box needed to open, we need to set the state for opening Dialogue Box. but when you touches the setState, it clears the lookup filtered value to initial.

thanks for assistance. :-)

@emrekara37 emrekara37 added the bug Something isn't working label Aug 1, 2019
@kumar-prashant16
Copy link
Author

@emrekara37 Hi Sir, when can i expect it to be resolved?

@chongsoon
Copy link

Hi @kumar-prashant16 , I was facing the same issue, but I found out in #160 , you could set the column definition in the state first, and load the state variable instead. Not sure if this is considered a solution or workaround.

@stale
Copy link

stale bot commented Jun 15, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.

@stale stale bot added the wontfix This will not be worked on label Jun 15, 2020
@stale stale bot closed this as completed Jun 30, 2020
@prashant005
Copy link

Kindly Check the Issue once

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

4 participants