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

Return response after update #23

Merged
merged 1 commit into from
Jun 16, 2023

Conversation

iainbeeston
Copy link
Contributor

Right now it's impossible to do anything with the response from onUpdate() when subclassing. I'd like to be able to examine the response object and take further actions depending on the result.

To make this possible, I've returned the response, which I think should make it possible to use it if needed.

@guillaumebriday
Copy link
Member

Nice! Can you add this change in the Changelog?

Right now it's impossible to do anything with the response from onUpdate() when subclassing. I'd like to be able to examine the response object and take further actions depending on the result.

To make this possible, I've returned the response, which I think should make it possible to use it if needed.
@iainbeeston
Copy link
Contributor Author

@guillaumebriday Done! ✅

@iainbeeston
Copy link
Contributor Author

Sorry to bump this @guillaumebriday but can this be merged and released? 🙏

@guillaumebriday guillaumebriday merged commit da12b58 into stimulus-components:master Jun 16, 2023
@guillaumebriday
Copy link
Member

Thanks @iainbeeston

Available here https://github.com/stimulus-components/stimulus-sortable/releases/tag/v4.1.1

Let met know if everything is working properly for you

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