example no js to reset input #88
Labels
chore
a tedious but necessary task often paying technical debt
enhancement
New feature or enhancement of existing functionality
T5m
Quick tasks that take 5 mins or less. See: GTD 2 min rule.
An example of code without the JS reset in the branch "example-no-js"
Changed the input and add
value: @message
(and addmessage
inassigns
on mount).Add a
phx-change
to validate before save, and on save, resetassign message: ""
The text was updated successfully, but these errors were encountered: