#389 ✓resolved
Bryan Larsen

input-many can lose '+' button

Reported by Bryan Larsen | March 1st, 2009 @ 10:27 PM

when using nested input-many's, the '+' button can be lost.

To reproduce on agility:

add :accessible => true to :stories in Project, and to :tasks in Story, and then use this as edit.dryml for Project:

   <def tag="form" for="Project">
      <form parm="default" merge>
        <error-messages/>
        <field-list fields="name, owner, status"/>
        <input-many:stories>
          <card>
            <header: replace />
            <body:>
              <field-list fields="title, body" />
              <input-many:tasks>
                <card>
                  <header: replace />
                  <body:><field-list fields="description"/></body:>
                </card>
              </input-many>
            </body:>
          </card>
        </input-many>
      </form>
    </def>

    <edit-page />

Edit a project with 0 or 1 stories.

Click on the outside '+' to add a new story. Click on the '-' of the new story. Now there will be no '+' button to add another story.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Pages