Skip to content

Commit b41f830

Browse files
committed
Fix editbox text comparison issue
1 parent 47cb200 commit b41f830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/editbox/CCEditBox.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@ cc.EditBox.create = function (size, normal9SpriteBg, press9SpriteBg, disabled9Sp
849849
}
850850

851851
if (editBox._delegate && editBox._delegate.editBoxTextChanged) {
852-
if (editBox._text.toLowerCase() !== this.value.toLowerCase()) {
852+
if (editBox._text !== this.value) {
853853
editBox._text = this.value;
854854
thisPointer._updateDomTextCases();
855855
editBox._delegate.editBoxTextChanged(editBox, editBox._text);

0 commit comments

Comments
 (0)