Highlight numeric text boxes in red when the expression is invalid
Posted: Sun Nov 24, 2024 10:26 pm
Example
1. Place a constant combinator and add a signal for any item, e.g. coal
2. Typing random numbers like "123", the input box shows a normal yellow-ish highlight
3. Upon typing an invalid expression like "123e", the invalid expression is also not indicated in any way in the UI (e.g. with some red highlight or some other error indicator)
What I expect:
There should be a red background like when entering an invalid expression in a parameter formula in a parameterized blueprint.
1. Place a constant combinator and add a signal for any item, e.g. coal
2. Typing random numbers like "123", the input box shows a normal yellow-ish highlight
3. Upon typing an invalid expression like "123e", the invalid expression is also not indicated in any way in the UI (e.g. with some red highlight or some other error indicator)
What I expect:
There should be a red background like when entering an invalid expression in a parameter formula in a parameterized blueprint.