Skip to content
This repository has been archived by the owner on Feb 10, 2024. It is now read-only.

DecimalField #2

Open
thejhh opened this issue Jul 26, 2022 · 2 comments
Open

DecimalField #2

thejhh opened this issue Jul 26, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@thejhh
Copy link
Contributor

thejhh commented Jul 26, 2022

We already have an IntegerField, but a general number field (e.g. decimal field) is required.

Maybe the name could also be DecimalField since it is a decimal number in the UI what we want to show.

@thejhh thejhh added the enhancement New feature or request label Jul 26, 2022
@thejhh thejhh linked a pull request Jul 26, 2022 that will close this issue
@EVCareeria
Copy link
Contributor

EVCareeria commented Nov 8, 2022

Started working with DecimalField again.

  • typing 0.00000006 should return 0.00000006 and not 6E-8
  • CSV should work with decimal numbers
  • Decimal Field should be able to contain multiple dots
  • Input should not accept scientific notation
  • Decimal Field should keep extra zeroes for example 12.500 should be 12.500 not 12.5
  • Modifying old ticket should show the value, like in integer field

@EVCareeria
Copy link
Contributor

PR Frontend #16

Updated decimalField - moved logic to hook and fixed state not 'displaying' when modifying existing ticket.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants