Skip to main content

Arlecchino.Modals.Asking

Classes

TypeSummary
NumberModalA number that can be both typed and stepped. Bounds are checked before your validator runs, and the message reports them with affixes, so the user sees the same form they are editing.
NumericModalWhat the number field and the slider have in common: stepping, precision and affixes.
TextAreaModalSeveral lines of text, edited in place, where Enter starts a new line and the Submit binding confirms. The text is one line with newlines in it, so every edit is the one a field of one line has.
TextModalA line of text: free text, a secret, an email or a link. The built-in format check runs before TextModal.Validate, so your validator only sees input that already looks right.

Interfaces

TypeSummary
IAffixedModalA field that shows something around its value — a currency sign, a unit. Affixes are decoration only: the callback still receives the bare value.
ITextEntryModalA field that is typed into, shared by the text field and the number field so both edit and complain alike. What is typed and where the caret is come from ITextEntry.

Enums

TypeSummary
TextFormatA built-in check a text field runs before your own validator, so common mistakes are caught with a translated message instead of a handwritten regex.