Hello, I have a text area for a field displaying in the attribute inspector. It displays with a different font than the other fields. What do I need to add to change the font?
Do I need to add something here?
var layerInfos = [{
'featureLayer': selectedTemplate.featureLayer,
'isEditable': true,
'showAttachments': true,
fieldInfos: [
{ fieldName: "NAME", label: "NAME:", isEditable: true },
{ fieldName: "EMAIL", label: "EMAIL:", isEditable: true },
{ fieldName: "PHONE", label: "PHONE:", isEditable: true },
{ fieldName: "CITIZEN_COMMENT", label: "COMMENT:", isEditable: true, 'stringFieldOption': 'textarea' }
]
}];
Thanks,
Chris
Solved! Go to Solution.
Use CSS:
.esriAttributeInspector .atiTextAreaField {
}
Use CSS:
.esriAttributeInspector .atiTextAreaField {
}
Thanks Jonathan!