ComboBox sends bad onChanged after backspacing all characters
Bug Report
- Package version(s): 5.5.0
Priorities and help requested (not applicable if asking question):
Are you willing to submit a PR to fix? No, probably not (sorry)
Requested priority: Normal
Products/sites affected: Nutshell CRM Outlook add-on
Describe the issue:
I am using an uncontrolled ComboBox on a form, allowFreeform set to true. I have found that when I backspace out all of the characters one at a time and then press enter, the value argument that is provided to onChanged is the last letter that was backspaced (the first letter of the original contents). See Provided codepen for a demonstration.
Actual behavior:
onChanged is called with a single character in the value argument.
Expected behavior:
onChanged is called with an empty string.
If applicable, please provide a codepen repro:
https://codepen.io/IanVS/pen/wryoby
@jspurlin
Any update on this issues ... Any work arounds?
@jspurlin Is this still on your radar?
This issue has been automatically marked as stale because it has not activity for 30 days. It will be closed if no further activity occurs within 14 days of this comment. Thank you for your contributions to Fabric React! Why am I receiving this notification?
Also running into this issue, has anyone found a workaround for clearing combobox input?
Same here. Please increase priority some of my core features relies on this component
I thought I could do a quick fix on this, but the fix is VERY involved based on how this was actually coded.
FYI, I've got a local fix for this. Need to finish testing and then will have a PR sent out