`Max` attribute validation error on `Form Repeat`

Wappler 5.0.3
MacOS Monterey
Node.JS 14
PostgreSQL 13

added number type input fields inside of a Form Repeat with max validation:

<div class="col-4 mb-1">
  <label for="numF1" class="form-label">F1 *</label>
  <div class="input-group">
    <input id="numF1" name="num_field" type="number" class="form-control" required="" maxlength="9" dmx-bind:value="num_field" max="" data-rule-max="99.999999">
    <span class="input-group-text bg-light">%</span>
  </div>
</div>

on client side, getting this error:

please help to resolve this problem on client side.

thank you.

What happens if you set the same value in the max attribute, or remove it from the input completely? Does it fix the problem?

it works then.

but the bug persists. if i add max attr from properties pane, max="", this should have been max=99.999999
hope this can be fixed.

I think this is related to this reported bug**(but I might be wrong)** which happens when rules are added to the server action for min/max fields:

Fixed in Wappler 5.1.2

1 Like

This topic was automatically closed after 32 hours. New replies are no longer allowed.