Untitled
unknown
plain_text
a month ago
2.0 kB
3
Indexable
Never
Here is a comprehensive list of all available props for PrimeReact's **InputMask** component: 1. **id** (string): The ID of the input element. 2. **mask** (string): Defines the pattern for the input mask. For example, `99-9999-9999` or `(999) 999-9999`. 3. **slotChar** (string): Placeholder character in the input mask. Default is `_`. 4. **autoClear** (boolean): Determines whether the input value should be cleared if incomplete on blur. Default is `true`. 5. **unmask** (boolean): When set to `true`, the raw value without the mask is submitted. Default is `false`. 6. **style** (object): Inline style of the input element. 7. **className** (string): Style class of the input element. 8. **placeholder** (string): Placeholder text for the input field. 9. **disabled** (boolean): Disables the input field. Default is `false`. 10. **readOnly** (boolean): Sets the input field as read-only. Default is `false`. 11. **tabIndex** (number): Specifies the tab order of the input element. 12. **onComplete** (function): Callback to invoke when input mask is fully filled. 13. **onChange** (function): Callback to invoke when the input value changes. 14. **onFocus** (function): Callback to invoke when the input field receives focus. 15. **onBlur** (function): Callback to invoke when the input field loses focus. 16. **name** (string): Name attribute of the input element. 17. **required** (boolean): Marks the input as required. 18. **tooltip** (string): Text for the tooltip. 19. **tooltipOptions** (object): Additional options for configuring the tooltip behavior. 20. **ariaLabel** (string): Accessibility label for the input field. 21. **ariaLabelledBy** (string): Identifies the element (or elements) that labels the input field. 22. **maxLength** (number): Maximum number of characters allowed in the input. 23. **size** (number): Size of the input field, which sets the visible width. These props provide full control over how the **InputMask** component behaves and integrates into a form.
Leave a Comment