@PublicApi public class InsightFieldTextCustomDescriptionConfiguration extends InsightFieldConfiguration
You can provide an HTML template (String format) as a description and a set of i18n keys to populate that template.
| Constructor and Description |
|---|
InsightFieldTextCustomDescriptionConfiguration(String key,
String label,
String descriptionHtmlTemplate,
String defaultValue,
String... i18nKeys) |
| Modifier and Type | Method and Description |
|---|---|
void |
translate(io.riada.insight.utils.I18n i18n)
Translate all the i18nkeys provided and populate the
HTML template (description) using String.format().
|
getDescription, getDescriptionI18nKey, getInput, getKey, getLabel, getLabelI18nKey, getRole, getValue, getWeight, isMandatory, isMultiValue, setDescription, setInput, setLabel, setMandatory, setMultiValue, setRole, setValue, setWeight, toJSONpublic void translate(io.riada.insight.utils.I18n i18n)
translate in interface Translatebletranslate in class InsightFieldConfigurationCopyright © 2024 Atlassian. All rights reserved.