You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This request has popped up a few times, and my standard response would be something like i mentioned in #176 (also see #59).
However your approach sounds interesting.
The harder part: imho if a button is not allowed to be pressed, just hide it (a disabled button mostly just confuses/annoys people). But that is a personal taste/rule.
But I would definitely consider such a pull request.
Hey,
What do you think about an option to limit the quantity of nested items?
Rails already support that and throws an exception when you exceed, i.e.:
It means you only can have at most 3 things, otherwise, an exception is thrown.
Would be great to have a option to work with that, i.e.:
In that case, if the user hit the 3 limit, the add button just stop to work and came back to work if him remove at least 1 thing.
Also, we'll need a custom event after adding the last item to handle the interface (alerts, classes, etc), i.e.:
Makes sense? Would you allow pull request implementing this?
The text was updated successfully, but these errors were encountered: