We’ve just released Anvil Extras v2.1.0 with:
Notable Change
-
@auto_refreshing
- the original item will now be proxied rather than copied.
Changes to the proxied item will make changes to the original item. -
MultiSelectDropDown
- the change event will only fire with user interaction.
Previously also fired when theselected
property was changed in code.
This behaviour now matches other anvil Components - e.g. changing theselected_value
of a DropDown does not fire the DropDown change event.
New Features
- routing - a template argument was added to the
@routing.route
decorator.
This argument determines which templates a route can be added to. - routing - a template can take multiple paths
@routing.template(path=["admin", "user"])
- routing -
@routing.redirect()
decorator added - hashlib module: implementation of some common hashing algorithms
-
utils.import_module: similar implementation to python’s
importlib.import_module
-
MultiSelectDropDown
: add eventsopened
andclosed
Bug Fixes
-
MultiSelectDropDown
: fix change event should only fire on user interaction -
@auto_refreshing
: support auto_refreshing when the item is not explicitly set