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

Fix field binding #1263

Merged
merged 1 commit into from
Feb 18, 2019
Merged

Conversation

edgarmueller
Copy link
Contributor

@edgarmueller edgarmueller commented Feb 15, 2019

Fields do not alter their own path anymore, hence we need to pass it in accordingly. This should fix the most recent example in #1253

@coveralls
Copy link

coveralls commented Feb 16, 2019

Coverage Status

Coverage decreased (-0.5%) to 87.804% when pulling a1cf3f6 on edgarmueller:fix/field-binding into 32c5986 on eclipsesource:master.

@@ -155,7 +155,7 @@ const NonEmptyCell = ({
undefined,
scopedSchema.type === 'object' ? `#/properties/${propName}` : '#'
)}
path={rowPath}
path={rowPath + (scopedSchema.type === 'object' ? '.' + propName : '')}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch, we should probably fix line 146 accordingly

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@edgarmueller edgarmueller force-pushed the fix/field-binding branch 2 times, most recently from b212178 to 0c75600 Compare February 18, 2019 09:15
@edgarmueller edgarmueller merged commit 374b6d5 into eclipsesource:master Feb 18, 2019
@edgarmueller edgarmueller modified the milestones: 2.3.0, 2.2.1 Feb 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants