Joe Davidson

Results 263 comments of Joe Davidson

It's probably a quick fix, I would just have to get my head back into textMate syntax again! As you can see the rules currently are quite dumb: https://github.com/templ-go/templ-vscode/blob/main/syntaxes/templ.tmLanguage.json#L539 They...

I'm definitely in favour of this change, I think that previously the way of passing data to a script was slightly too inconvenient to move people away from templ scripts....

I think I understand. You are looking for a way to use a generated layout file in templ. There is no way to do this currently with just templ as...

Thanks for returning with your update!

I don't think I understand the suggested design. What would it look like to render this? One potential issue with this is that the result of `emailField("", "", "")` is...

Okay, I understand your problem. I don't think children is the solution to this. In your `inputGroup` function `children` is basically of type `[]formInput`, so you could achieve the desired...

Hi, Interesting observation! I guess it isn't an intentional feature, just a missing one :) I used backtick fences because it makes parsing much simpler. I'm happy to take a...

Good point. I'd argue that should actually be the default.

Apologies I duplicated this issue and tracked my progress there https://github.com/a-h/templ/issues/757

I've re-opened the original issue, it shouldn't have been closed. So this can be closed as duplicate.