AttributeInspector: stringFieldOption has no effect

Discussion created by softwavegis on Mar 22, 2011
Latest reply on Mar 23, 2011 by softwavegis
I am using the attribute inspector in a tabbed container in a dijit.Dialog.  It works fine, but now I would like to make some of the fields have a text area instead of a textbox.  The only change I am making is to add 'stringFieldOption':esri.dijit.AttributeInspector.STRING_FIELD_OPTION_TEXTAREA to the fieldInfos field definition.  However, there is no change in the attributeInspector for the field to a text area.

var costFieldInfos = [
{'fieldName': 'cost_est_interval_num', 'isEditable':true,  'label':'Cost Interval:'},
{'fieldName':'cost_est_interval_comments','isEditable':true, 'label':'Comments', 'stringFieldOption':esri.dijit.AttributeInspector.STRING_FIELD_OPTION_TEXTAREA}

var layerInfos = [{
        'featureLayer': actionTableFL,
        'showAttachments': false,
        'isEditable': true,
        'showDeleteButton': false,
        'fieldInfos': costFieldInfos

var attInspector = new esri.dijit.AttributeInspector({
        layerInfos: layerInfos
    }, dojo.create("div"));

Are there additional changes I need to do?  Also, is there a way to customize the width of the text input boxes?