i am having a bit of an issue, and dont know if its me #1222
Unanswered
ItsMoMoHippo
asked this question in
Q&A
Replies: 1 comment 5 replies
-
|
I'm unable to reproduce that issue, at least on: It's formatting well, with no LSP warnings for me. Also, since 076b696 released in https://github.com/a-h/templ/releases/tag/v0.3.887 you can simplify to: package main
templ upgradeSelect(name string, maxUpgrade int) {
<select name={ name }>
for i := 0; i <= maxUpgrade; i++ {
<option value={ i }>{ i }</option>
}
</select>
} |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
i have this snippet
Beta Was this translation helpful? Give feedback.
All reactions