Hi,
We just upgraded from ISC 8.3p to 9.0p and we are observing styling issues with hints
on SelectItem fields when showHintInField == true.
The problem is twofold. 1st, the hint style upon initially displaying the field is
not correct (it doesn't display the hint using the hint style, but rather the regular
input style), and 2nd, that field has the "required" property set to true, therefore upon
validating, when the field is left blank, the hint switches to bold.
This used to work properly with 8.3p.
Anything that we need to change in our custom style sheets for this to work again ? Or is this
a regression in 9.0p ?
Here's our code for that SelectItem:
Thanks,
We just upgraded from ISC 8.3p to 9.0p and we are observing styling issues with hints
on SelectItem fields when showHintInField == true.
The problem is twofold. 1st, the hint style upon initially displaying the field is
not correct (it doesn't display the hint using the hint style, but rather the regular
input style), and 2nd, that field has the "required" property set to true, therefore upon
validating, when the field is left blank, the hint switches to bold.
This used to work properly with 8.3p.
Anything that we need to change in our custom style sheets for this to work again ? Or is this
a regression in 9.0p ?
Here's our code for that SelectItem:
Code:
//---------------------------------------------------------------------------------------------------------------------------- getSelectPickerFieldDefinition : function(properties) { var baseProperties = { showTitle : false, width : 180, required : true, autoFetchData : true, fetchMissingValues : false, name : 'report', title : MeiStrings.get('spendLiability.picker.report.title'), hint : MeiStrings.get('spendLiability.picker.report.hint'), showHintInField : true, defaultToFirstOption : false, optionDataSource : 'dsSpendLiabilityPickerOptions', editorType : 'SelectItem', displayField : 'name', valueField : 'primaryKey', addUnknownValues : false, validateOnExit : false, pickListFields : [ { name : 'name', width : 120, canHide : false }, { name : 'closedOn', title : MeiStrings.get('spendLiability.picker.report.status'), canHide : false } ], pickListProperties: { canHover: true, showHover: true, canSort : false, canGroupBy : false, canAutoFitFields : false, //---------------------------------------------------------------------------------------------------------------------------- formatCellValue : function (value, record, field, viewer) { if (viewer == 0) //Name column { return record.name; } else if (viewer == 1) //Status column { return record.closedOn ? MeiStrings.get('spendLiability.picker.report.closed') : MeiStrings.get('spendLiability.picker.report.open'); } }, //---------------------------------------------------------------------------------------------------------------------------- cellHoverHTML : function (record) { return record.closedOn ? MeiStrings.get('spendLiability.picker.report.period.closed') : MeiStrings.get('spendLiability.picker.report.period.open'); } } }; var fld = isc.addProperties(baseProperties, properties); return fld; }
Comment