Skip to content

Text & number inputs

Text (text)

Single-line free text. The default field for names, codes, and short answers.

Specific properties:

PropertyWhat it does
Input modeHints the mobile keyboard: text, email, tel, url, numeric, decimal, search
Input maskForces a format while typing: international phone, date, time, date-time, digits, or custom
Custom mask patternYour own pattern when mask = custom
AutocompleteBrowser autofill hint (email, name, postal-code…)
Min / Max lengthCharacter limits
Show max length counterLive character counter under the field
SpellcheckBrowser spellcheck on/off

Example — a Lithuanian company code field:

  • Name: companyCode, Input mode: numeric, Max length: 9
  • Validators: pattern = ^[0-9]{9}$, message Company code is 9 digits

Textarea (textarea)

Multi-line text for comments and descriptions. Supports min/max length and the length counter.

Number (number)

Numeric input that stores a number (or a formatted string when configured).

PropertyWhat it does
Use visual number formatLocale-aware display formatting (e.g. US: 12,345.67) — the stored value stays a clean number
Format localeLocale override; empty = Form settings → Locale
Min / Max fraction digitsDigits shown after the decimal point
Thousand separatorsGroup digits by locale
Store value asnumber (default) or string
Number input alignmentText alignment inside the input (left default, or right)
Number placeholder textPlaceholder for the empty state
Min / Max valueNumeric bounds

Use Number whenever the value is used in calculations — {price} * {quantity} works without conversion.

Number stepper (numberStepper)

A number with +/− buttons. Best for small quantities (passengers, rooms, items).

Phone input (phoneInput)

Phone number with country-code selection and formatting.

PropertyWhat it does
Default country codePre-selected country — useful when most users share one market (e.g. US, LT)
Allowed country codesRestrict the selector to specific markets
Enable country searchSearch box inside the country dropdown
Return country ISO codeStore the ISO code together with the number

Slider (slider)

Drag to pick a number within a range. Good for ratings and percentage-style answers where precision is not critical.

PropertyWhat it does
Min / Max valueThe range limits
StepIncrement (e.g. 1, 0.5)
Show value labelDisplays the current value next to the control

Choosing between them

SituationElement
Any free textText
Value used in mathNumber
Quantity 0–20Number stepper
Approximate value in a known rangeSlider
Phone numberPhone input (not Text)