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

PropertyFieldCollectionData text box issues #113

Closed
1 of 3 tasks
joelfmrodrigues opened this issue Nov 5, 2018 · 1 comment
Closed
1 of 3 tasks

PropertyFieldCollectionData text box issues #113

joelfmrodrigues opened this issue Nov 5, 2018 · 1 comment
Milestone

Comments

@joelfmrodrigues
Copy link
Collaborator

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
Copy link
Member

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

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

2 participants