Example text for description field on idea portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2025 04:20 AM
I need to add an example text on the description field of idea portal. Normally we do it with the placeholder attribute in the input tag but the code looks like
<label for="description" class="field-label description" title="{{::data.formModel._fields.description.label}}" aria-label="{{::data.formModel._fields.description.label}} "
tooltip-right="true">
<span class="field-decorations">
<span ng-show="::data.formModel._fields.description.mandatory" class="fa fa-asterisk mandatory" ng-class="{'mandatory-filled': data.formModel._fields.description.mandatory_filled()}"
title="${Required}" style="padding-right: .25em" aria-label="{{data.formModel._fields.description.mandatory_filled()? '${Required Filled}' : '${Required}'}}"></span>
</span>
{{::data.formModel._fields.description.label}}
</label>
<cf-tiny-mce
ng-class="(formSubmitted && !data.formModel._fields.description.stagedValue) ? 'field-invalid' : ''"
ng-model="data.formModel._fields.description.stagedValue"
label= "data.formModel._fields.description.label"
arial-label = "${Add a description}"
ng-model-options="{height: '300', allow: false}"
table="{{data.formModel.table}}"
attachment-sys-id="-1"
max-file-size="{{data._maxAttachmentSize}}"
is-required="true">
</cf-tiny-mce>
Not sure how to add the placeholder attribute in <cf-tiny-mce>