Masked Fields
被遮罩的字段是输入组件,强制用户输入特定的结构。它们非常适合需要一致格式的表单,例如日期、时间、数字或标识符,这些情况下要求准确性。
这些组件直接将格式规则应用于输入字段,帮助用户理解期望输入的值类型,同时减少输入错误。这使它们在金融系统、管理仪表盘、调度接口以及其他依赖验证数据输入的应用程序中尤为有用。
主题
MaskedDateField
Capture localized date input with the MaskedDateField, applying configurable masks, format indicators, parsing rules, and validation.
MaskedNumberField
Format numeric input with the MaskedNumberField using configurable mask characters, grouping, decimal separators, and locale settings.
MaskedTextField
Enforce formatted text entry with the MaskedTextField, supporting mask characters for digits, letters, and literals for IDs and codes.
MaskedTimeField
Capture time input with the MaskedTimeField, applying 12 or 24-hour masks, format indicators, locale-aware parsing, and validation.