Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance ExternalInput: Pass filters to mapProp for custom data mapping #714

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

haidv1992
Copy link

Enhance ExternalInput: Pass filters to mapProp for custom data mapping

  • Updated mapProp function to accept filters as an argument.
  • Modified ExternalInput component to pass current filters when selecting data from the table.
  • Enabled dynamic data mapping based on filters for better flexibility.

Copy link

vercel bot commented Nov 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
puck-docs ✅ Ready (Inspect) Visit Preview Dec 2, 2024 6:18am

Copy link

vercel bot commented Nov 29, 2024

Someone is attempting to deploy a commit to the Measured Team on Vercel.

A member of the Team first needs to authorize it.

- Added `useState` to manage filters based on initial values from `field.initialFilters` or existing `value[name]`.
- Ensures filters are initialized properly when loading or updating the component state.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant