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

Characters disappearing while entering text #2

Closed
tylersand opened this issue Apr 13, 2020 · 4 comments
Closed

Characters disappearing while entering text #2

tylersand opened this issue Apr 13, 2020 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@tylersand
Copy link

I am noticing an issue where characters disappear while typing. In the linked video, you will see that at around the 24 second mark, I enter the word "woman" and it changes it to "womn". I have seen this happen with alphanumeric characters and spaces, on multiple machines, and it gets worse the faster you type. It seems like perhaps an issue with the events for update view and text changed, where asynchronously the value in the text box is getting changed back to what it was milliseconds ago.

https://tylereriksandllc-my.sharepoint.com/:v:/g/personal/tyler_ts_solutions/EZen5YnTB7ZHpCMY-qa50PwBaLcxDiSrK7pijkH6qNzCJA?e=ddCZZO

@jellevervloessem
Copy link

Same here. Maybe it has some thing to do withbautosave....
Whe the characters disappear the changed fields on the form are lost too.

@ChrisMayor
Copy link
Owner

Hello,
will have a look at the issue in the next days. Unfortunately, the issue doesn't appear on the PowerApps component framework Test Environment. I think too, that it is probably related to autosave in Dynamics:

When the updateView method is called by Dynamics, the control has to check if the field was changed in Dynamics and in this case has to update the control. I think the root issue is related to the PCF Framework implementation and/or Dynamics and autosave.

I will check in the next days if there is a workaround.

@ChrisMayor ChrisMayor self-assigned this Apr 15, 2020
@ChrisMayor ChrisMayor added the bug Something isn't working label Apr 15, 2020
@tylersand
Copy link
Author

Here's some information that I found that is likely the same issue. The best workaround that this group came up with was to check the field value in updateView() and ignore it if it is the old value. Hopefully this helps.

https://powerusers.microsoft.com/t5/Power-Apps-Pro-Dev-ISV/Which-event-for-notifyOutputChanged/td-p/481721

@ChrisMayor
Copy link
Owner

I fixed the issue now with some small changes in the code.

To get the changes reflected in Dynamics you have to completely uninstall the current solution. Unfortunately in the previous version, I didn't change the default behavior for PCF controls and I created an unmanaged solution and if you leave the previous version in dynamics, the changed will not be reflected :-(

Now from the current version, I will always generate a managed solution, this will ensure, that changes in the next versions will be reflected if you update the solution.

Please follow the update instructions "Update instructions V1.0 -> V2.0" in the readme.md on the main page.

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

No branches or pull requests

3 participants