Skip to content
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

add 'disabled: bool = False' kwarg to sp.pydantic_form #32

Open
liamvdv opened this issue Jun 16, 2023 · 0 comments
Open

add 'disabled: bool = False' kwarg to sp.pydantic_form #32

liamvdv opened this issue Jun 16, 2023 · 0 comments

Comments

@liamvdv
Copy link

liamvdv commented Jun 16, 2023

Feature description:
Please expose a 'disabled: bool = False' kwarg in sp.pydantic_form(). It should either disable all input fields or just disable the submit, both work.
I prefer to just disable the submit button, but thats a UI question.

Problem and motivation:
External state that prohibits the form to be send off. [Long Running API call following the Submit, Selection of another filed must happen first, ....]

Is this something you're interested in working on?
No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant