First Working version. I can add table

This commit is contained in:
2025-05-10 16:55:52 +02:00
parent b708ef2c46
commit 2daff83e67
157 changed files with 17282 additions and 12 deletions

View File

@@ -0,0 +1,16 @@
from fasthtml.common import *
def testing_restore_state():
return Div(
Input(name='f', id=f"input_with_id", placeholder="Input with id"),
Input(name='f', placeholder="Input without id"),
Input(type='checkbox', id="checkbox_with_id", checked='checked', cls='checkbox'),
Input(type='checkbox', checked='checked', cls='checkbox'),
Input(type='radio', id="radio_with_id_1", name='radio-1', cls='radio'),
Input(type='radio', id="radio_with_id_2", name='radio-1', cls='radio'),
Input(type='radio', id="radio_with_id_3", name='radio-1', cls='radio'),
)