docs: filter non-digit in Series/Number fields (#DS-4058)#1719
Open
NikGurev wants to merge 1 commit into
Open
Conversation
|
Visit the preview URL for this PR (updated for commit 80fcd0c): https://koobiq-next--prs-1719-6x6ugz3e.web.app (expires Sun, 12 Jul 2026 13:16:23 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: c9e37e518febda70d0317d07e8ceb35ac43c534c |
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the validation docs example to actively filter out non-digit characters in the “Series” and “Number” form fields, while giving the user immediate feedback via a tooltip.
Changes:
- Added a shared
onInputhandler that strips non-digit characters from the input and briefly shows an error tooltip when invalid characters are entered. - Wired
kbqTooltip(manual trigger) onto the “Series” and “Number” inputs and added positioning viaPopUpPlacements.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages/docs-examples/components/validation/validation-message-global-with-links/validation-message-global-with-links-example.ts | Adds tooltip module dependencies, a non-digit filtering regex, and an input handler that sanitizes values and controls tooltip visibility. |
| packages/docs-examples/components/validation/validation-message-global-with-links/validation-message-global-with-links-example.html | Applies manual tooltips and hooks (input) / (blur) events to enforce digits-only entry in Series/Number fields. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
lskramarov
approved these changes
Jul 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.