Logo FS-Skia-UI

ValidationMessage Module

Builders for the `ValidationMessage` control — inline error/hint text shown beneath a field.

Functions and values

Function or value Description

create arg1

Full Usage: create arg1

Parameters:
    arg0 : Attr<'msg> list

Returns: Control<'msg>
Type parameters: 'msg

Build a `ValidationMessage` from its attributes; pair with `ValidationMessage.text` for the message. The typed `Props` front door (`FS.Skia.UI.Controls.Typed`) is recommended.

arg0 : Attr<'msg> list
Returns: Control<'msg>

text arg1

Full Usage: text arg1

Parameters:
    arg0 : string

Returns: Attr<'msg>
Type parameters: 'msg

Set the validation text shown to the user (`Attr` carrying the error/hint `string`).

arg0 : string
Returns: Attr<'msg>

Type something to start searching.