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

Props valueKey, labelKey (and others) don't override the default props when passing them as option of selectFor #156

Closed
durandx opened this issue Aug 3, 2015 · 0 comments
Assignees
Labels

Comments

@durandx
Copy link
Contributor

durandx commented Aug 3, 2015

When using a custom list in a selectFor for example :

  {
  this.selectFor('strId', 'structures', {
     refContainer: {'structures': contactStore.getStructuresContact()},
     isEdit: true,
     valueKey: 'id'
     }) 
}

The value Key property is not properly overriden by our custom option. So the props of our component on the getValue is still the original one : valueKey: "code"

@pierr pierr added the Critical label Aug 3, 2015
@pierr pierr self-assigned this Aug 3, 2015
@durandx durandx changed the title Props valueKey, labelKey (and others) doesn't override the default props when passing them as option of selectFor Props valueKey, labelKey (and others) don't override the default props when passing them as option of selectFor Aug 3, 2015
@pierr pierr closed this as completed in 90c2c99 Aug 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants