{"action":"created","issue":{"url":"https://api.github.com/repos/xmartlabs/XLForm/issues/677","labels_url":"https://api.github.com/repos/xmartlabs/XLForm/issues/677/labels{/name}","comments_url":"https://api.github.com/repos/xmartlabs/XLForm/issues/677/comments","events_url":"https://api.github.com/repos/xmartlabs/XLForm/issues/677/events","html_url":"https://github.com/xmartlabs/XLForm/issues/677","id":122844353,"number":677,"title":"formRowDescriptorValueHasChanged formRow.tag is nil on multivalued sections","user":{"login":"winzig","id":127062,"avatar_url":"https://avatars.githubusercontent.com/u/127062?v=3","gravatar_id":"","url":"https://api.github.com/users/winzig","html_url":"https://github.com/winzig","followers_url":"https://api.github.com/users/winzig/followers","following_url":"https://api.github.com/users/winzig/following{/other_user}","gists_url":"https://api.github.com/users/winzig/gists{/gist_id}","starred_url":"https://api.github.com/users/winzig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/winzig/subscriptions","organizations_url":"https://api.github.com/users/winzig/orgs","repos_url":"https://api.github.com/users/winzig/repos","events_url":"https://api.github.com/users/winzig/events{/privacy}","received_events_url":"https://api.github.com/users/winzig/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-17T23:19:53Z","updated_at":"2015-12-21T16:11:04Z","closed_at":null,"body":"I've defined a multivalued section like this:\r\n\r\n    section = XLFormSectionDescriptor.formSectionWithTitle(nil, sectionOptions: [XLFormSectionOptions.CanInsert, XLFormSectionOptions.CanDelete], sectionInsertMode:XLFormSectionInsertMode.LastRow)\r\n    section.multivaluedTag = Tags.MediaFile.rawValue\r\n    form.addFormSection(section)\r\n\t\t\r\n    row = XLFormRowDescriptor(tag: Tags.MediaFile.rawValue, rowType: XLFormRowDescriptorTypeMediaPicker)\r\n    section.addFormRow(row)\r\n\r\nWhen my first row in this section changes, and `formRowDescriptorValueHasChanged` is called, the formRow.tag is filled in appropriate with the Tags.MediaFile.rawValue. However, if I click the green (+) to add a new row, and then change that new row's value, `formRowDescriptorValueHasChanged` is called again, yet with a `nil` value for formRow.tag. \r\n\r\nI thought by setting section.multivaluedTag during initialization of the section, that this would automatically cause all my row tags to be set to that value. Am I misunderstanding, or is this a bug?"},"comment":{"url":"https://api.github.com/repos/xmartlabs/XLForm/issues/comments/166344513","html_url":"https://github.com/xmartlabs/XLForm/issues/677#issuecomment-166344513","issue_url":"https://api.github.com/repos/xmartlabs/XLForm/issues/677","id":166344513,"user":{"login":"mats-claassen","id":8573865,"avatar_url":"https://avatars.githubusercontent.com/u/8573865?v=3","gravatar_id":"","url":"https://api.github.com/users/mats-claassen","html_url":"https://github.com/mats-claassen","followers_url":"https://api.github.com/users/mats-claassen/followers","following_url":"https://api.github.com/users/mats-claassen/following{/other_user}","gists_url":"https://api.github.com/users/mats-claassen/gists{/gist_id}","starred_url":"https://api.github.com/users/mats-claassen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mats-claassen/subscriptions","organizations_url":"https://api.github.com/users/mats-claassen/orgs","repos_url":"https://api.github.com/users/mats-claassen/repos","events_url":"https://api.github.com/users/mats-claassen/events{/privacy}","received_events_url":"https://api.github.com/users/mats-claassen/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T16:11:04Z","updated_at":"2015-12-21T16:11:04Z","body":"In fact this is intended yes. \r\nmultivaluedTag is a tag for that section and is used to get the values of that section.\r\nHave a look at the `formValues` implementation [here](https://github.com/xmartlabs/XLForm/blob/master/XLForm/XL/Descriptors/XLFormDescriptor.m#L286-L308)"}}