Jinntec / Fore

Fore - declarative user interfaces in plain HTML
MIT License
80 stars 11 forks source link

Tutorial to-do app: string-length constraint malfunctions #240

Closed michmech closed 7 months ago

michmech commented 7 months ago

I've discovered something funny going on while playing around with the example to-do app in the tutorial. In this tutorial page, go to the last example on the page:

image

Delete the text in one of the to-do items. An error message appears, as it should:

image

Then add a new to-do items by clicking the add button:

image

As you can see the newly added to-do item has the same error message, even though its text is not empty. No matter what you do after this point -- changing the text, deleting and adding items, changing their completed state -- the first two to-do items will always show this error message.

I don't know if this is a bug in the tutorial only or in Fore itself.

JoernT commented 7 months ago

thanks for reporting - already got an idea why ....

JoernT commented 7 months ago

ok, just a CSS rule not being strong enough. However online version won't update til next release so the fix is just in dev branch for now.