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

KtFieldNumber: permit having value over maximum if isOverMaximumAllowed is true #985

Open
RueRivoli opened this issue Aug 9, 2024 · 0 comments

Comments

@RueRivoli
Copy link
Collaborator

RueRivoli commented Aug 9, 2024

Is your feature request related to a problem? Please describe.
In some case in MES, we want to allow the user to specify a value over the maximum with the KtFieldNumber component.
This would be needed in the feature called "overquantity" which can be described as:
"I want to produce more parts than ordered to account for faulty parts or to keep some parts in the storage".

Describe the solution you'd like
We want the value of the field number to go over the maximum in this case only.
Potentially a property isOverMaximumAllowed to provide to the KtFieldNumber to be true to allow this behaviour.
Then the user would see 7/5 for example and understand : I produce 2 more parts than the customer ordered.

Describe alternatives you've considered
Other alternatives in the past were about different designs:

  • showing quantity selected in a KtFieldNumber with no maximum and outside of the quantity number the total of ordered parts but this is the favourite option.

Additional context
/

@RueRivoli RueRivoli changed the title feature(KtFieldNumber): permit having value over maximum if mentioned feature(KtFieldNumber): permit having value over maximum if isOverMaximumAllowed is true Aug 9, 2024
@RueRivoli RueRivoli changed the title feature(KtFieldNumber): permit having value over maximum if isOverMaximumAllowed is true KtFieldNumber: permit having value over maximum if isOverMaximumAllowed is true Aug 9, 2024
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