First Working version. I can add table
This commit is contained in:
16
src/pages/testing_restore_state.py
Normal file
16
src/pages/testing_restore_state.py
Normal 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'),
|
||||
|
||||
)
|
||||
Reference in New Issue
Block a user