msbsmith

Attribute Inspector Text Area size

Discussion created by msbsmith on Sep 9, 2013
Latest reply on Sep 10, 2013 by zj_zou
Hello,

When editing features in the JS API, I can define an inspection template field type as a text area as follows:
'stringFieldOption': esri.dijit.AttributeInspector.STRING_FIELD_OPTION_TEXTAREA

By default the gives a text area just 2 lines high.  In more modern browsers like Chrome and IE10 you can drag the corner of the Text Area to resize it to see more lines, however we have a lot of users with IE8 and seeing just 2 lines at a time isn't really ideal.

Can anyone please tell me how to specify a height for the Text Area (and maybe a width too)?

Thank you,

Mark.

Outcomes