Adds a paginated, sortable table field for displaying and editing rows in a collection
Input Mask
Adds input masks to text fields for phone numbers, dates and other fixed formats
Installation
pnpm add payload-mask-plugin About
Input Mask formats what editors type into a Payload text field. Set a mask pattern on a text field in a collection or global, and the admin input fills in fixed characters like brackets, dashes or a country prefix as the user types. Editors cannot enter values that break the format, which keeps phone numbers, dates, postal codes and similar data consistent. You can choose whether the stored value keeps the mask characters or only the typed digits, and optionally show the saved value below the input.
Package info
- Package name
payload-mask-plugin- Latest version
1.0.2- Unpacked size
- 19 kB
- License
- MIT
- Weekly downloads
- 11
- Last publish
- Jul 20, 2024
More from notchris
View profileAdds a help icon with a descriptive popover next to field labels in the admin panel
Similar plugins
More in FieldsBuilds site and admin themes from color harmonies, with contrast checks in light and dark
Pedigree fields, relatives and family-tree views for Payload collections
Color, icon, encrypted and unit-aware measurement fields for Payload admin
Adds theme presets, live preview and contrast checks to the Payload admin
Groups Payload fields inside a drawer that opens from a button or icon
Adds a barcode scan button to text fields in the Payload admin panel