Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Lens] Handle invalid values gracefully for static value operation (#…
…172198) ## Summary Fixes #171959 I've extended valid static value check to 15 digits (which is the max support by JS as implementing the [64-bit IEEE 574](https://en.wikipedia.org/wiki/Double-precision_floating-point_format)). <img width="1224" alt="Screenshot 2023-11-30 at 10 23 13" src="https://github.com/elastic/kibana/assets/924948/bf88c0c8-9e51-4c8f-912d-abd82f292eda"> Note: an alternative approach would be to make it pass nonetheless and trunc the numeric value at 15th digit. ### Checklist Delete any items that are not applicable to this PR. - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md) - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios --------- Co-authored-by: Stratoula Kalafateli <[email protected]>
- Loading branch information