Skip to content

Commit 723f3e3

Browse files
akoclaude
andcommitted
fix: set selectAllButtonCaption TextTemplate in ComboBox template
The selectAllButtonCaption property is a TextTemplate type but had TextTemplate: null in the Object section of the embedded template. Mendix only validates this property when optionsSourceType = "association", which is why enum mode passed while association mode triggered CE0463 "widget definition has changed" and crashed mx update-widgets with a NullReferenceException. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 478c53f commit 723f3e3

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

sdk/widgets/templates/mendix-11.6/combobox.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,27 @@
11891189
"PrimitiveValue": "",
11901190
"Selection": "None",
11911191
"SourceVariable": null,
1192-
"TextTemplate": null,
1192+
"TextTemplate": {
1193+
"$ID": "c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6",
1194+
"$Type": "Forms$ClientTemplate",
1195+
"Fallback": {
1196+
"$ID": "d2e3f4a5b6c7d8e9f0a1b2c3d4e5f601",
1197+
"$Type": "Texts$Text",
1198+
"Items": [
1199+
3
1200+
]
1201+
},
1202+
"Parameters": [
1203+
2
1204+
],
1205+
"Template": {
1206+
"$ID": "e3f4a5b6c7d8e9f0a1b2c3d4e5f60102",
1207+
"$Type": "Texts$Text",
1208+
"Items": [
1209+
3
1210+
]
1211+
}
1212+
},
11931213
"TranslatableValue": null,
11941214
"TypePointer": "8112ca78e65be34e95322565eb6dbb8a",
11951215
"Widgets": [

0 commit comments

Comments
 (0)