richText

@Composable
fun IComponent.richText(value: String? = null, placeholder: String? = null, disabled: Boolean? = null, required: Boolean? = null, locale: Locale = LocaleManager.currentLocale, className: String? = null, id: String? = null, setup: @Composable IRichText.() -> Unit = {})

Creates a RichText component.

Return

A RichText component.

Parameters

value

the initial value

placeholder

the placeholder attribute of the generated HTML textarea element

disabled

determines if the field is disabled

required

determines if the field is required

locale

the locale for i18n

className

the CSS class name

id

the ID of the component

setup

a function for setting up the component