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

fr:date: insert above/below clears the date #3957

Closed
ebruchez opened this Issue Feb 19, 2019 · 1 comment

Comments

@ebruchez
Copy link
Collaborator

ebruchez commented Feb 19, 2019

  • enter dates on two rows
  • insert below first row, for example
  • the date which was on the second row (now third row) is cleared

screen shot 2019-02-19 at 3 49 41 pm

@ebruchez ebruchez self-assigned this Feb 19, 2019

@ebruchez ebruchez added this to To Review in Orbeon Forms 2018.2.2 via automation Feb 19, 2019

@ebruchez ebruchez added this to To review in Orbeon Forms 2019.1 via automation Feb 19, 2019

@ebruchez ebruchez moved this from To Review to To Do in Orbeon Forms 2018.2.2 Feb 19, 2019

@ebruchez

This comment has been minimized.

Copy link
Collaborator Author

ebruchez commented Mar 1, 2019

Response:

<xxf:copy-repeat-template
    id="section-1-section≡grid-2-grid≡grid-2-grid-repeat"
    parent-indexes=""
    start-suffix="3"
    end-suffix="3"/>
...
<xxf:init id="section-1-section≡grid-2-grid≡control-2-control⊙2">
    <xxf:value/>
</xxf:init>
...
<xxf:init id="section-1-section≡grid-2-grid≡control-2-control⊙3"/>

In addition, iterations 2 and 3 get the two scripts defined in date.xbl called, for:

  • setFormat()
  • setExcludedDates()

So it all looks good except that the second <xxf:init> doesn't have a value.

@ebruchez ebruchez closed this in 174d635 Mar 1, 2019

Orbeon Forms 2019.1 automation moved this from To review to Done Mar 1, 2019

Orbeon Forms 2018.2.2 automation moved this from To Do to Done Mar 1, 2019

ebruchez added a commit that referenced this issue Mar 1, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.