You can add phx-change behavior to individual inputs by using the form attribute
Example:
<form phx-change="individual_event" id="individual_form">
</form>
<form phx-change="save" id="product_form">
<input type="text" name="product[name]">
...
<input type="text" id="individual_input" form="individual_form">
</form>
We added a separate form (outside the main form) for the individual input. When you now change the value of the #individual_input, the “individual_event” will be emitted.






















