Skip to content

example no js to reset input #88

@ndrean

Description

@ndrean

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: ""

Metadata

Metadata

Assignees

Labels

T5mQuick tasks that take 5 mins or less. See: GTD 2 min rule.chorea tedious but necessary task often paying technical debtenhancementNew feature or enhancement of existing functionality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions