Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Commit

Permalink
Fix for Mx 7
Browse files Browse the repository at this point in the history
Fix for Mx 7, tested in 7.23.6 and working again
  • Loading branch information
JelleDekker committed Sep 2, 2019
1 parent 1f222c1 commit 18f3e85
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ node_modules/
*DS_Store*
.vscode/
*.bak
package-lock.json
test/widgets/ComboSelector.mpk
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"license": "Apache 2",
"author": "Jelle Dekker",
"private": true,
"dependencies": {
},
"dependencies": {},
"devDependencies": {
"del": "^2.2.2",
"gulp": "^3.9.1",
Expand Down
2 changes: 1 addition & 1 deletion src/ComboSelector/widget/ComboSelector.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ define([
if (this._readOnly) {
dojoHtml.set(this.inputWrapper, "<p class='form-control-static'>" + displayValue + "</p>");
dojoClass.add(this.inputWrapper, "readonly");
} else {
} else if (this._comboBoxStore) {
dojoClass.remove(this.inputWrapper, "readonly");
var item = this._comboBoxStore.get(guid);
if (item && typeof item != "undefined") {
Expand Down
2 changes: 1 addition & 1 deletion src/package.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="ComboSelector" version="1.2.2" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="ComboSelector" version="1.2.3" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="ComboSelector/ComboSelector.xml" />
</widgetFiles>
Expand Down
Binary file modified test/widgets/ComboSelector.mpk
Binary file not shown.

0 comments on commit 18f3e85

Please sign in to comment.