Skip to content

Commit

Permalink
fix form vanilla default, disable sse
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Nov 30, 2023
1 parent b858742 commit bd4fc47
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ Packages:

- npm: [`@pydantic/fastui`](https://www.npmjs.com/package/@pydantic/fastui)
- npm: [`@pydantic/fastui-bootstrap`](https://www.npmjs.com/package/@pydantic/fastui-bootstrap)
- cdn: [`@pydantic/fastui-prebuilt`](https://www.jsdelivr.com/package/npm/@pydantic/fastui-prebuilt) (via npm package)
- cdn: [`@pydantic/fastui-prebuilt`](https://www.jsdelivr.com/package/npm/@pydantic/fastui-prebuilt) - jsdelivr via npm package
2 changes: 1 addition & 1 deletion python/demo/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def api_index() -> list[AnyComponent]:
),
],
),
c.ServerLoad(path='/sse', sse=True),
# c.ServerLoad(path='/sse', sse=True),
c.Modal(
title='Static Modal',
body=[c.Paragraph(text='This is some static content in a modal.')],
Expand Down
2 changes: 1 addition & 1 deletion python/fastui/components/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class FormFieldSelect(BaseFormField):
options: list[forms.SelectOption] | list[forms.SelectGroup]
multiple: bool | None = None
initial: str | None = None
vanilla: bool | None = True
vanilla: bool | None = None
placeholder: str | None = None
type: typing.Literal['FormFieldSelect'] = 'FormFieldSelect'

Expand Down

0 comments on commit bd4fc47

Please sign in to comment.