-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Table instantiation (rows above table header when ClientLoad.FromDocument) #184
Comments
Hello, this seems like something that should have been fixed by 1298d14 but your version of WS is later. Have you tried latest release (4.4)? Can you push the entire sample project so its easy to reproduce? Thanks a lot! |
I don't try 4.4 yet. Write if you need more info. |
full packed solution with dlls - https://github.com/mawasak/websharper-table/blob/master/websharper-table-solution.7z |
@mawasak Thanks! I will look into it soon. |
@Tarmil The html as returned by the server contains this: |
Code returned from server is like @Jand42 said, but in
so MyTableHole div is before table tag (tbody is empty)
|
This is indeed a similar issue to the one fixed by 1298d14. The common problem is that some elements can only have certain specific children (such as |
Reopening as this issue still happens with SVG. Example: <svg>
<g>
<circle ws-replace="MyCircle" />
</g>
</svg> incorrectly becomes: <svg>
<g>
<div ws-replace="MyCircle" />
</g>
</svg> |
Hi,
My table rows are above table header when I use ClientLoad.FromDocument.
I use Adam article https://forums.websharper.com/blog/84145
My modifications are here
https://github.com/mawasak/websharper-table
and some screenshots:
Code in Main.fs
Templates in Main.html
packages.config (newer versions than in mentioned article)
Without , ClientLoad.FromDocument, ServerLoad.WhenChanged
Regards,
Mariusz
The text was updated successfully, but these errors were encountered: