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

[Bug report]: tds-text-field number range #1064

Open
5 tasks done
swanljung opened this issue Apr 18, 2024 · 0 comments
Open
5 tasks done

[Bug report]: tds-text-field number range #1064

swanljung opened this issue Apr 18, 2024 · 0 comments

Comments

@swanljung
Copy link

Requirements before reporting

  • No duplicated issue reported.
  • I have read the contribution guidelines.
  • I have checked the lastest version if the bug exist there. See all avaliable packages at npmJS.com
  • I have made sure that the issue comes from SDDS packages by removing SDDS from my project as a test.
  • I have followed the installation guide.

Package

@scania/tegel

Package versions

@scania/tegel-angular": "^1.8.0

Browser

Chrome

Framework

Angular

Version

Angular 15

Reproduction steps

  1. Add component tds-text-field as number, with range 5-15.
  2. Click the field, and you're able to input 2 or 17 without anything stopping it.
    ...

Code example

Screenshots

Add/Copy screenshot here

Expected behaviour

You shouldn't be able to add values outside the given range to the number input. Some kind of feedback should at least be given?

Console errors

Add warning/error message

Contact information

No response

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

No branches or pull requests

1 participant