Skip to content

Commit

Permalink
Remove easter egg of hidden bytes (microsoft#8150)
Browse files Browse the repository at this point in the history
* Remove hidden bytes (e2 80 8b -> \u200b)

* Change file
  • Loading branch information
cliffkoh authored and dzearing committed Feb 28, 2019
1 parent 00b03d0 commit de52733
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "office-ui-fabric-react",
"comment": "Combobox: remove hidden \\u200b when we attempt to clear a combobox.",
"type": "patch"
}
],
"packageName": "office-ui-fabric-react",
"email": "[email protected]"
}
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ export class ComboBox extends BaseComponent<IComboBoxProps, IComboBoxState> {
// If visibleValue is empty, make it a zero width space.
// If we did not do that, the empty string would not get used
// potentially resulting in an unexpected value being used
return visibleValue || '';
return visibleValue || '';
}

return comboBox.value;
Expand Down

0 comments on commit de52733

Please sign in to comment.