Beta
Main changes:
- Optional
filter_by: dict
kwarg for*_select_form
to display only
the elements you are interested in. (ex: filter on foreign key) - Optional
except_columns: list
for_form
methods: column names to
exclude from the form. - Ensure the default value from the Column declaration is set.
Meta elements:
__st_input_meta__
: specify custom streamlit components for your
columns.__st_repr__
: specify how an SQLAlchemy object is displayed in a
selectbox
.__st_order_by__
: specify how SQLAlchemy objects are ordered in a
selectbox
.
New column types supported:
- Float: similar to int but with 0.1 steps
- Datetime: 2 input elements - Date & Time
- Date: st.date_input
- Time: st.time_input
- Text: st.text_area
Details:
- Add KWO arg
border=False
to methods containing forms
(streamlit>=1.29.0)