Skip to content

Commit

Permalink
Accept decimal numbers as field value condition
Browse files Browse the repository at this point in the history
On field value condition alerts, accept decimal numbers as values.
Fixes #1657

Adapted from:
graylog-labs/graylog2-web-interface@f200838
  • Loading branch information
Edmundo Alvarez committed Jan 12, 2016
1 parent b496745 commit 57e04ca
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -88,7 +88,7 @@ const FieldValueConditionForm = React.createClass({
has a {this._formatCheckType()}
<br />
that was {this._formatThresholdType()} than{' '}
<input ref="threshold" name="threshold" type="number" className="form-control"
<input ref="threshold" name="threshold" step="0.01" type="number" className="form-control"
defaultValue={alertCondition.threshold} required/>
{' '}in the last{' '}
<input ref="time" name="time" type="number" min="1" className="form-control"
Expand Down

0 comments on commit 57e04ca

Please sign in to comment.