github reflex-dev/reflex reflex-components-core-v0.10.1a1
reflex-components-core@0.10.1a1

pre-release4 hours ago

Deprecations

  • Submitting a form control's value under its id is deprecated and will be removed in 0.11; form data will then hold only what each control submits under its name. Compiling a form whose on_submit handler takes the form data now warns about each value-bearing control that has a static id but no name; give it a name, e.g. rx.input(id="email") becomes rx.input(id="email", name="email"). A control whose id differs from its name also stops adding a field keyed by its id, and a checkbox or switch whose id equals its name submits "on" or nothing instead of True or False; read it as a bool field of a TypedDict to keep a bool. See the form docs for details. (#7386)

Bug Fixes

  • Forms now see the name of a controlled input (one with value and on_change), so a TypedDict submit 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_listener and clipboard hooks now render in declaration order with the rest of the component's hooks instead of being moved after them. (#7586)

Don't miss a new reflex release

NewReleases is sending notifications on new releases.