UiInputFieldRenderer

class UiInputFieldRenderer(tag: Tag)

Constructors

Link copied to clipboard
fun UiInputFieldRenderer(tag: Tag)

Functions

Link copied to clipboard
operator fun invoke(    value: Double,     onChange: (Double) -> Unit,     builder: UiInputFieldComponent.Options<Double>.() -> Unit = {}): ComponentRef<UiInputFieldComponent<Double, UiInputFieldComponent.Props<Double>>>

Renders the field for a Double

operator fun invoke(    value: Float,     onChange: (Float) -> Unit,     builder: UiInputFieldComponent.Options<Float>.() -> Unit = {}): ComponentRef<UiInputFieldComponent<Float, UiInputFieldComponent.Props<Float>>>

Renders the field for a Float

operator fun invoke(    value: Int,     onChange: (Int) -> Unit,     builder: UiInputFieldComponent.Options<Int>.() -> Unit = {}): ComponentRef<UiInputFieldComponent<Int, UiInputFieldComponent.Props<Int>>>

Renders the field for an Int

operator fun invoke(    value: String,     onChange: (String) -> Unit,     builder: UiInputFieldComponent.Options<String>.() -> Unit = {}): ComponentRef<UiInputFieldComponent<String, UiInputFieldComponent.Props<String>>>

Renders the field for a String

Link copied to clipboard
fun nullable(    value: Double?,     onChange: (Double?) -> Unit,     builder: UiInputFieldComponent.Options<Double?>.() -> Unit = {}): ComponentRef<UiInputFieldComponent<Double?, UiInputFieldComponent.Props<Double?>>>

Renders the field for a nullable Double

fun nullable(    value: Float?,     onChange: (Float?) -> Unit,     builder: UiInputFieldComponent.Options<Float?>.() -> Unit = {}): ComponentRef<UiInputFieldComponent<Float?, UiInputFieldComponent.Props<Float?>>>

Renders the field for a nullable Float

fun nullable(    value: Int?,     onChange: (Int?) -> Unit,     builder: UiInputFieldComponent.Options<Int?>.() -> Unit = {}): ComponentRef<UiInputFieldComponent<Int?, UiInputFieldComponent.Props<Int?>>>

Renders the field for a nullable Int

fun nullable(    value: String?,     onChange: (String?) -> Unit,     builder: UiInputFieldComponent.Options<String?>.() -> Unit = {}): ComponentRef<UiInputFieldComponent<String?, UiInputFieldComponent.Props<String?>>>

Renders the field for a nullable String