Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

story(input): add input masking documentation #854

Closed
wants to merge 5 commits into from

Conversation

doganozturk
Copy link
Contributor

Closes #391

@doganozturk doganozturk requested review from a team, Enes5519 and DamlaDemir and removed request for a team May 4, 2024 16:20
@doganozturk doganozturk force-pushed the next branch 3 times, most recently from 35ff092 to 6b37fde Compare May 8, 2024 12:21
</script>
```

In both examples, the `useIMaskWithObserver` hook is a custom hook that combines IMask with a MutationObserver to ensure that the masking behavior is applied correctly and consistently. Respective example implementations for such an approach can be found in [here (React)](https://github.com/doganozturk/baklava-input-mask-react-examples/blob/f9f2155d0c7be477fa6e87ae03a8c5c9ac1a27df/src/examples/imask/hooks/useIMaskWithObserver.js) and [here (Vue)](https://github.com/doganozturk/baklava-input-mask-vue-examples/blob/9342e453c6d66525904dfa01c68fa09934c066e5/src/examples/imask/hooks/useIMaskWithObserver.js).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It didn't feel right to share personal links. If necessary, we can open a folder called examples in the repo.

Copy link
Contributor Author

@doganozturk doganozturk May 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I though about it, too. Is it possible for us to serve different projects through our public domain and without too much effort? These projects have entirely different setups and that's the point. We should talk about in our weekly 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Masking Capability for Input Component
2 participants