sdds icon indicating copy to clipboard operation
sdds copied to clipboard

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

Open swanljung opened this issue 10 months ago • 0 comments

Requirements before reporting

  • [X] No duplicated issue reported.
  • [X] I have read the contribution guidelines.
  • [X] I have checked the lastest version if the bug exist there. See all avaliable packages at npmJS.com
  • [X] I have made sure that the issue comes from SDDS packages by removing SDDS from my project as a test.
  • [X] 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

swanljung avatar Apr 18 '24 09:04 swanljung