dateRef

@Composable
fun IComponent.dateRef(value: LocalDate? = null, min: LocalDate? = null, max: LocalDate? = null, step: Int = DATE_DEFAULT_STEP, name: String? = null, maxlength: Int? = null, placeholder: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable IDate.() -> Unit = {}): Date(source)

Creates a Date component, returning a reference.

Return

a Date component

Parameters

value

the initial value

min

the minimum value

max

the maximum value

step

the step value

name

the name attribute of the generated HTML input element

maxlength

the maxlength 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

className

the CSS class name

id

the ID of the generated HTML input element

setup

a function for setting up the component