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

Fixed creation of FieldGroup. Now the 'item' property is bound to the pa... #66

Merged
merged 1 commit into from
Mar 5, 2015

Conversation

yaadyaad
Copy link
Contributor

@yaadyaad yaadyaad commented Mar 4, 2015

...rent one.
Before this fix there was a defect with an empty 'item' property of a newly created FieldGroup using an item as a parameter, like as follows:

case class Employee(name: String)
val fieldGroup = FieldGroup(ScaladinItem(Employee("some name")))

When getting an item from a fieldGroup, None was always returned.
val i = fieldGroup.item // was always None, because 'protected var itemWrapper' was not initialized.

henrikerola pushed a commit that referenced this pull request Mar 5, 2015
Fixed creation of FieldGroup. Now the 'item' property is bound to the pa...
@henrikerola henrikerola merged commit ea2d924 into henrikerola:3.2 Mar 5, 2015
henrikerola pushed a commit that referenced this pull request Mar 5, 2015
@henrikerola
Copy link
Owner

Thanks a lot!

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