trimble-oss / modus-web-components

This library provides Modus components as web components - reusable, encapsulated UI elements that are framework agnostic (can be implemented in any site).
https://modus-web-components.trimble.com/
MIT License
34 stars 71 forks source link

Table: Error message - Add pattern validation for text-input #2790

Open prashanthr6383 opened 1 month ago

prashanthr6383 commented 1 month ago

In order to display table error message need to add a validation for text input

  1. Using the cell arguments pass the pattern for validation
  2. Display the error message if the validation fails
github-actions[bot] commented 1 month ago

Hello @prashanthr6383! Thanks for opening an issue. The Modus core team will get back to you soon (usually within 24-hours) and provide guidance on how to proceed. Contributors are welcome to participate in the discussion and provide their input on how to best solve the issue, and even submit a PR if they want to.

Please wait until the issue is ready to be worked on before submitting a PR, or you can reach out to the core team if it is time bound. For trivial things, or bugs that don't change the expected behaviors and UI, you can go ahead and make a PR.

prashanth-offcl commented 1 month ago

@prashanthr6383 Please consider the following while adding validation for input components,