You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With templates the order of props merging prioritizes the overrides above all - which leads to a wonky scenario when attempting to provide props in custom ResultComponents. The ResultComponent sub-component props should take priority over overides, but currently do not.
For example, using the Price component, the symbol is unable to be changed due to Templates currency overrides within the Theme.
<Price symbol='***' value={core.price} />
Related... instead of adding names to component instances (as was suggested for being able to target the selector checkbox in screenshot) we should look to creating a method for selecting sub-components of custom result components.
Currently it is not possible to select only components within a custom result component, but that will likely be needed.
Ideas:
somehow allow for custom names in product cards (currently typing does not allow for this)
wrapper component that adds to the treepath
The text was updated successfully, but these errors were encountered:
With templates the order of props merging prioritizes the overrides above all - which leads to a wonky scenario when attempting to provide props in custom ResultComponents. The ResultComponent sub-component props should take priority over overides, but currently do not.
For example, using the Price component, the symbol is unable to be changed due to Templates currency overrides within the Theme.
Related... instead of adding names to component instances (as was suggested for being able to target the selector checkbox in screenshot) we should look to creating a method for selecting sub-components of custom result components.
Currently it is not possible to select only components within a custom result component, but that will likely be needed.
Ideas:
The text was updated successfully, but these errors were encountered: