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
-
Bryan Larsen March 11th, 2009 @ 09:27 PM
OK, I tried to fix this, but I can't seem to find any documentation anywhere for lowpro, which it appears that you're using in the relevant section.
-
Bryan Larsen March 11th, 2009 @ 10:16 PM
OK, I just rewrote the questionable code. Should be faster now, too. Pull from http://github.com/bryanlarsen/ho... to get the fix.
-
Tom Locke March 12th, 2009 @ 09:11 AM
- State changed from new to resolved
Thanks for the fix Bryan
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป