class DatePickerDraft
source · line 11public
public class DatePickerDraft public constructor(
public val editor: TextEditorState = TextEditorState()
)
A draft is the text editor itself, plus its last explicit validation result.
property editor
source · line 12public
public val editor: TextEditorState = TextEditorState()
get: public read-only
constructor constructor
source · line 11public
constructor(public val editor: TextEditorState = TextEditorState())
parameter editor
source · line 12public
public val editor: TextEditorState = TextEditorState()
function reset
source · line 16public
public fun reset(text: String): Boolean
parameter text
source · line 16public
text: String
property error
source · line 15public
public val error: String?
get: public read-only
getter get
source · line 15public
get(): Option<String>