I have this input field in a form which I validate using spring boot validator:

```
<input class="form-control" th:field="*{numericField}"
    type="number" min="0" id="numeric_field_input">

```

The valid range is all positive numbers. But even if I do not fill in any number, the field validates. I believe the default value is zero. Adding something like

```
th:default="-1"

```

did not solve the problem. How can I check on serverside that a user input any value?

These are my current annotations of the field:

```
   @Positive(message = "{validation.numericField.positive}")
   @ColumnDefault("0")
   private Integer numericField;

```