Skip to content

Commit

Permalink
remove unused field
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Feb 12, 2024
1 parent bc24e04 commit 041a137
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/npm-fastui/src/models.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,6 @@ export interface Form {
}
method?: 'POST' | 'GOTO' | 'GET'
displayMode?: 'default' | 'page' | 'inline'
showSubmitSpinner?: boolean
submitOnChange?: boolean
submitTrigger?: PageEvent
loading?: FastProps[]
Expand Down Expand Up @@ -439,7 +438,6 @@ export interface ModelForm {
}
method?: 'POST' | 'GOTO' | 'GET'
displayMode?: 'default' | 'page' | 'inline'
showSubmitSpinner?: boolean
submitOnChange?: boolean
submitTrigger?: PageEvent
loading?: FastProps[]
Expand Down
1 change: 0 additions & 1 deletion src/python-fastui/fastui/components/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ class BaseForm(pydantic.BaseModel, ABC, defer_build=True, extra='forbid'):
display_mode: _t.Union[_t.Literal['default', 'page', 'inline'], None] = pydantic.Field(
default=None, serialization_alias='displayMode'
)
show_submit_spinner: bool = pydantic.Field(default=False, serialization_alias='showSubmitSpinner')
submit_on_change: _t.Union[bool, None] = pydantic.Field(default=None, serialization_alias='submitOnChange')
submit_trigger: _t.Union[events.PageEvent, None] = pydantic.Field(default=None, serialization_alias='submitTrigger')
loading: '_t.Union[_t.List[AnyComponent], None]' = None
Expand Down

0 comments on commit 041a137

Please sign in to comment.