You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature description:
streamlit_pydantic should have capability to handle dependant property.
Problem and motivation:
Sometimes, one property is required only when another property is True, for example:
class General(BaseModel):
legal_name: str
operating_name: Optional[str]
has_lmia_approved: bool
when_lmia_approved: Optional[date]
in streamlit_pydantic, we cannot disappear when_lmia_approved if has_lmia_approved is False.
Is this something you're interested in working on?
Yes.
The text was updated successfully, but these errors were encountered:
Feature description:
streamlit_pydantic should have capability to handle dependant property.
Problem and motivation:
Sometimes, one property is required only when another property is True, for example:
class General(BaseModel):
legal_name: str
operating_name: Optional[str]
has_lmia_approved: bool
when_lmia_approved: Optional[date]
in streamlit_pydantic, we cannot disappear when_lmia_approved if has_lmia_approved is False.
Is this something you're interested in working on?
Yes.
The text was updated successfully, but these errors were encountered: