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

ui: the restrict-input directive allows invalid text to be pasted/dragged #1905

Closed
dsebastien opened this issue May 8, 2020 · 0 comments
Closed

Comments

@dsebastien
Copy link
Contributor

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/NationalBankBelgium/stark/blob/master/CONTRIBUTING.md#got-a-question-or-problem

Current behavior

The restrict input directive does not prevent pasting/dragging text into the input, effectively allowing to introduce characters that should be restricted

Expected behavior

Pasted/dragged content is also checked for validity and blocked if not respecting the rules

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Environment


Angular version: X.Y.Z
Stark version: X.Y.Z


Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
 
For Tooling issues:
- Node version: XX  
- Platform:  

Others:

@dsebastien dsebastien changed the title ui: the restrict-input directive ui: the restrict-input directive allows invalid text to be pasted/dragged May 8, 2020
@SuperITMan SuperITMan added this to the 10.1.0 milestone Jul 1, 2020
@SuperITMan SuperITMan modified the milestones: 10.1.0, 10.2.0 Jul 24, 2020
@dm148 dm148 self-assigned this Sep 29, 2020
@SuperITMan SuperITMan modified the milestones: 10.2.0, 11.0.0 Mar 10, 2021
@SuperITMan SuperITMan modified the milestones: 11.0.0, 11.0.0-beta.0 Mar 17, 2021
@mhenkens mhenkens self-assigned this Sep 5, 2022
mhenkens added a commit to mhenkens/stark that referenced this issue Sep 6, 2022
mhenkens added a commit to mhenkens/stark that referenced this issue Sep 6, 2022
mhenkens added a commit to mhenkens/stark that referenced this issue Sep 15, 2022
mhenkens added a commit to mhenkens/stark that referenced this issue Sep 20, 2022
mhenkens added a commit to mhenkens/stark that referenced this issue Sep 20, 2022
mhenkens added a commit to mhenkens/stark that referenced this issue Sep 20, 2022
mhenkens added a commit to mhenkens/stark that referenced this issue Sep 22, 2022
mhenkens added a commit to mhenkens/stark that referenced this issue Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants