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

refreshAttributeSelect API #480

Merged
merged 3 commits into from
Jul 29, 2024
Merged

refreshAttributeSelect API #480

merged 3 commits into from
Jul 29, 2024

Conversation

mdroidian
Copy link
Collaborator

This PR adds ability to refresh defined attributes and update the observer.

A dev requested the ability to programmatically add attributes and attribute options via their plugin. As options are currently just an embed block rather than custom ui/functions and the settings are just stored as child blocks, I've decided to just expose an ability to refresh attributes/observer instead of creating/rewriting multiple functions.

This should suffice until Attribute Select becomes more mature and a more granular API is warranted.

@mdroidian mdroidian requested a review from dvargas92495 July 24, 2024 17:24
@mdroidian mdroidian merged commit 393ba0e into main Jul 29, 2024
1 check passed
@mdroidian mdroidian deleted the expose-attribute-select-refresh branch July 29, 2024 01:34
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.

2 participants