MyGit

v0.3.3

reflex-dev/reflex

版本发布时间: 2023-11-16 03:29:40

reflex-dev/reflex最新发布版本:v0.3.3(2023-11-16 03:29:40)

New Features

Python 3.12 is now supported

by @masenf in https://github.com/reflex-dev/reflex/pull/2006

Next.js upgrade from 13 to 14

by @Lendemor in https://github.com/reflex-dev/reflex/pull/2142

Clear Form using reset_on_submit prop

You can use the reset_on_submit on a form to reset form values to their original states after submitting the form. Simply set the value to True.

rx.form(
    rx.input(id="text", placeholder="text"),
    rx.button("Submit", type_="submit"),
    reset_on_submit=True,
)

(by @masenf in https://github.com/reflex-dev/reflex/pull/2012)

Forms support dynamic names.

New form-based code should prefer to use the name attribute to avoid the overhead of using refs for no specific gain (unless focus or value setting is required).

(by @masenf in https://github.com/reflex-dev/reflex/pull/2012)

Improvements

Doc fixups

Bug Fixes

Other Changes

New Contributors

Full Changelog: https://github.com/reflex-dev/reflex/compare/v0.3.2...0.3.3

相关地址:原始地址 下载(tar) 下载(zip)

查看:2023-11-16发行的版本