-
-
Notifications
You must be signed in to change notification settings - Fork 240
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
Issue with adding new list items #16
Comments
Thanks for pointing it out. I'll look at it later. |
I've tried, but I can't reproduce it. Could you show the code? |
This is the simplified version of the code.
|
Hmm, this may be related to the fact that so to summarize, I think this may be an apparent issue with
|
Hah! It's not that, @serkandurusoy. It's not even a bug. If you look carefully, you'll see, that not the badge itself has an |
ooh! wow, good catch! |
@radekmie that might not have been it afterall. If you watch the gif carefully, the first click registers and fires off validation! so it is not a click target problem. the second click then creates the new input furthermore, this is not a bootstrap-3/4 input but based on the unstyled and your commit changes bootstrap versions, but the unstyled does not seem to have that wrong placement of click handler anyway. |
I don't think, that |
I tested this. It does not matter about the error being there all along. I can introduce a new error and still reproduce the issue.
it is even more evident when you start with an empty form that has required fields that are empty to begin with. the first clicks on the + signs don't create an input, but fires off validation (the form is autosave=true if you think it matters) |
Okay, I'll dig into it tomorrow. |
Problem was in |
Thank you @radekmie I'll test this as soon as I can and let you know. Sent from my iPhone On Jun 1, 2016, at 17:42, "Radosław Miernik" notifications@github.com Problem was in ListAddField, not ListField - its initialCount was — |
this works now! thank you. |
I have an issue with adding new list items when using autosave={true} on the form. It is fine that the form is validated when new item is attached but at the moment the item does not attach on the first click.
Please have a look at the attached gif below that should explain the issue. Keep in mind that I'm clicking twice on the + icon before new items appear:
The text was updated successfully, but these errors were encountered: