dwyl / dwyl/phoenix-liveview-chat-example
example no js to reset input
Open
chore
enhancement
T5m
- Dominant language
- Elixir
- Stars
- 162
- Forks
- 12
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 3
Description
An example of code without the JS reset in the branch "example-no-js"
Changed the input and add `value: @message` (and add `message` in `assigns` on mount).
Add a `phx-change` to validate before save, and on save, reset `assign message: ""`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.