David Masters
David Masters

Reputation: 8295

HTMX inline validation & browser autofill

Consider the following input:

<input class="form-control"
       id="phone"
       type="tel"
       hx-post="/validate"
       hx-select="#phone-number-validation"
       hx-target="#phone-number-validation"/>

When a user autofills on a different input, consequently filling the telephone number input, there is no request sent.

How to ensure inline validation requests are sent when inputs are autofilled?

Upvotes: 0

Views: 46

Answers (0)

Related Questions