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

Pass in sort field to components #68

Closed
wants to merge 1 commit into from
Closed

Pass in sort field to components #68

wants to merge 1 commit into from

Conversation

SimplyCorey
Copy link

Hey,

I passed in the sortField prop to the __component because I needed a way to get the SQL field for one of the components I built for an application. I believe this would be useful for others as well.

My use case was an editable field that I built with a component. This field, when double clicked on changes to an input to allow the user to edit the field. Once the user clicks save, the changed are sent to the server. I need the sortField prop in order for my server to understand what field was being edited.

Thanks!

@ratiw ratiw closed this in e4099ae Apr 25, 2017
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