You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.
By using the event's target value without converting it to a Number object, the value can be stringified, leading to errors when saving it, see Graylog2/graylog2-server#1399
Convert values to Number before propagating the change. Currently only the AlarmCallbackConfiguration dialog is affected, outputs already convert types in the REST API and inputs are still form encoded (thereby having Play correctly translate values).
The text was updated successfully, but these errors were encountered:
Check if numbers are between MIN_SAFE_INTEGER and MAX_SAFE_INTEGER if no
other validation is defined. In that way we avoid using unsafe JS
numbers and also weirdness with exponential format.
Refs #1596
On entities using the `ConfigurationForm` component, use `undefined`
as value for empty or non-numeric values on a `NumericField`.
- Numeric values are still converted into a number, avoiding #1596
- Non-numeric values will raise an error when the browser validates
the input
- Empty values will be treated as default values in optional input
fields, or will raise an error otherwise
Fixes#1628
By using the event's target value without converting it to a Number object, the value can be stringified, leading to errors when saving it, see Graylog2/graylog2-server#1399
Convert values to Number before propagating the change. Currently only the AlarmCallbackConfiguration dialog is affected, outputs already convert types in the REST API and inputs are still form encoded (thereby having Play correctly translate values).
The text was updated successfully, but these errors were encountered: