mirror of
https://github.com/fiatjaf/nak.git
synced 2025-12-14 10:58:52 +00:00
do not act on input blank.
This commit is contained in:
@@ -85,7 +85,7 @@ object Main extends IOWebApp {
|
||||
cls := "w-full max-h-96 p-3 rounded",
|
||||
styleAttr := "min-height: 280px; font-family: monospace",
|
||||
spellCheck := false,
|
||||
placeholder := "paste something nostric",
|
||||
placeholder := "paste something nostric (event JSON, nprofile, npub, nevent etc or hex key or id)",
|
||||
onInput --> (_.foreach(_ =>
|
||||
self.value.get.flatMap(store.input.set)
|
||||
)),
|
||||
|
||||
Reference in New Issue
Block a user