Repository navigation
reflex-components-core@0.10.1a1
Pre-release
Pre-release
Deprecations
- Submitting a form control's value under its
idis deprecated and will be removed in 0.11; form data will then hold only what each control submits under itsname. Compiling a form whoseon_submithandler takes the form data now warns about each value-bearing control that has a staticidbut noname; give it aname, e.g.rx.input(id="email")becomesrx.input(id="email", name="email"). A control whoseiddiffers from itsnamealso stops adding a field keyed by itsid, and a checkbox or switch whoseidequals itsnamesubmits"on"or nothing instead ofTrueorFalse; read it as aboolfield of aTypedDictto keep a bool. See the form docs for details. (#7386)
Bug Fixes
- Forms now see the
nameof a controlled input (one withvalueandon_change), so aTypedDictsubmit handler requiring that field no longer fails to compile. (#7386) - The default connection toast shows a hydration size error at once and keeps it open until the user closes it. (#7551)
window_event_listenerandclipboardhooks now render in declaration order with the rest of the component's hooks instead of being moved after them. (#7586)