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

Percentages in math ops for number fields #188

Open
LeXXik opened this issue Nov 25, 2020 · 2 comments
Open

Percentages in math ops for number fields #188

LeXXik opened this issue Nov 25, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@LeXXik
Copy link
Contributor

LeXXik commented Nov 25, 2020

The current feature of doing math operations, like adding number values in the number fields is super helpful. If possible, please enable adding percentages as well. For example, current value is 123. Allow the use of 123+10%, which would add 10 percent of the current value to the current value.

@willeastcott willeastcott added the enhancement New feature or request label Dec 13, 2020
@willeastcott
Copy link
Contributor

Hey @ellthompson - should I transfer this issue to the PCUI repo, or do you think this request should remain Editor-specific?

@ellthompson
Copy link
Contributor

ellthompson commented Nov 3, 2022

This should be moved to PCUI as it's a feature request for the NumericInput component. We'll need to update the logic here:

this.value = this._domInput.value;

@willeastcott willeastcott transferred this issue from playcanvas/editor Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants