fastn-stack / fastn

🚧 (Alpha stage software) fastn - better way to build websites 🚧
https://fastn.com
GNU Affero General Public License v3.0
466 stars 36 forks source link

mutable `*$ftd.empty` doesn't work #1863

Open amitu opened 4 months ago

amitu commented 4 months ago

With the following code there is no output for last statement:

-- string $username: *$ftd.empty

-- ftd.text-input:
placeholder: enter username
$on-input$: $ftd.set-string($a = $username, v = $VALUE)

-- ftd.text: $username

We expect that the username will echo in the ftd.text field. It works if we change the first line to: -- string $username: hello.