Hi there
i have stepped over a bug in using textitem with type date in a DynamicForm in a ToolStrip.
If you initialize the form with disabled: true, the widths of the DateItems are wrong calculated. With "disabled: false" this doesn't occur.
disabled:
![]()
enabled:
![]()
we are using the latest nightly SmartClient Pro Edition (2015-02-03 nightly), happens in all browsers.
Best regards
i have stepped over a bug in using textitem with type date in a DynamicForm in a ToolStrip.
If you initialize the form with disabled: true, the widths of the DateItems are wrong calculated. With "disabled: false" this doesn't occur.
disabled:

enabled:

Code:
isc.ToolStrip.create({
"width" : "100%",
"members" :
[
isc.DynamicForm.create({
"disabled" : true,
"numCols" : 4,
"width" : 30,
"readOnlyDisplay" : "static",
"fields" :
[{
"title" : "xxx",
"type" : "date",
"width" : 80,
"textAlign" : "left",
"readOnlyDisplay" : "static",
"useTextField" : true,
"showChooserWeekPicker" : true
}, {
"title" : "yyy",
"type" : "date",
"width" : 80,
"textAlign" : "left",
"readOnlyDisplay" : "static",
"useTextField" : true,
"showChooserWeekPicker" : true
}
],
"values" : {}
})
]
})
Best regards