richDate

@Composable
fun IComponent.richDate(value: LocalDate? = null, name: String? = null, placeholder: String? = null, disabled: Boolean? = null, required: Boolean? = null, inline: Boolean = false, format: String = "yyyy-MM-dd", locale: Locale = LocaleManager.currentLocale, calendarIcon: String = "fas fa-calendar-alt", inputClassName: String? = null, className: String? = null, id: String? = null, setup: @Composable IRichDate.() -> Unit = {})

Creates a RichDate component.

Return

a RichDate component

Parameters

value

the initial value

name

the name attribute of the generated HTML input element

placeholder

the placeholder attribute of the generated HTML input element

disabled

determines if the field is disabled

required

determines if the field is required

locale

the locale for i18n

calendarIcon

the icon of the calendar button

inputClassName

the CSS class name of the generated HTML input element

className

the CSS class name

id

the ID of the generated HTML input element

setup

a function for setting up the component