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

Repeated grid: field overwritten when adding iteration with menu #3651

Closed
ebruchez opened this issue Jul 6, 2018 · 1 comment
Closed

Repeated grid: field overwritten when adding iteration with menu #3651

ebruchez opened this issue Jul 6, 2018 · 1 comment

Comments

@ebruchez
Copy link
Collaborator

ebruchez commented Jul 6, 2018

It doesn't happen when using the "+" icon.

I thought it looked like a regression from #3134 but this happens in a different circumstance.

+1 from customer

@ebruchez
Copy link
Collaborator Author

ebruchez commented Aug 1, 2018

That's because we first remove the source:

<xf:delete ref="$source"/>

And then we insert it alongside the new iteration:

<xf:insert
    context="$context"
    ref="$items[$p - 1]"
    origin="$source, frf:updateTemplateFromInScopeItemsetMaps($repeat-context, $repeat-template)"
    position="after"
    xxf:defaults="{$apply-defaults}"/>

But the xxf:defaults applies to both rows.

Orbeon Forms 2018.1 automation moved this from In Progress to Done Aug 1, 2018
@ebruchez ebruchez added this to Done in Orbeon Forms 2017.2.3 via automation Aug 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

1 participant