[Feature Request] Dynamic Defaults/Overrides Providers #17192
Labels
E: defaults
Defaults composable
framework
Issues and Feature Requests that have needs framework-wide.
T: enhancement
Functionality that enhances existing features
Milestone
Problem to solve
Currently, it is only possible to provide static default overrides when using v-defaults-provider
Proposed solution
Allow to receive a factory of defaults as a possible input.
That could provide a callback that receives context about the object being injected and something useful surroundieg context as well.
For instance, every button that has a
href
will also prepend an icon by default.A new component
v-overrides-provider
could also be created, allowing, for instance, to check all input labels if there is a valid i18n language entry and replacing it if applicable.The text was updated successfully, but these errors were encountered: