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

PropertyFieldCollectionData text box issues #113

Closed
joelfmrodrigues opened this Issue Nov 5, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@joelfmrodrigues
Copy link
Contributor

joelfmrodrigues commented Nov 5, 2018

Category

  • Enhancement
  • Bug
  • Question

Version

Please specify what version of the library you are using: [ 1.11.0 ]

Expected / Desired Behavior / Question

Being able to safely edit values on text boxes

Observed Behavior

When editing the text boxes of the test web part within the project, first name and last name start behaving badly.

Steps to Reproduce

Run the project and edit the test web part provided.
Click to manage manage collection data on web part properties.
Start typing on one of the text boxes and
Immediately after typing some characters, press backspace to delete a few characters
Immediately after deleting the characters, add a few more
Notice that the control starts to continuously update the value
Looking at the browser console, we can see that the value being logged is not behaving as expected, which seems like some issue with asynchronous code

@estruyf estruyf added the bug label Dec 6, 2018

@estruyf estruyf added this to the 1.13.0 milestone Dec 6, 2018

estruyf added a commit that referenced this issue Dec 6, 2018

@estruyf

This comment has been minimized.

Copy link
Collaborator

estruyf commented Dec 6, 2018

Hi @joelfmrodrigues it was indeed a bug.

Current behavior in v1.12.0:

debounce-issue

Added a fix to resolve this issue:

debounce-issue-fix

@estruyf estruyf closed this Dec 13, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment