abyme
abyme copied to clipboard
Improve handling of limit
Propositions:
- [ ] handle limit with fieldTarget instead of newFieldTarget
- [ ] trigger limit-reached event when abyme controller connect and limit already reached by previous records
- [ ] add a new event within-limit when the limit is not reached yet
- [ ] add data limitReached (true/false) and numberOfRecords to after-add and after-remove events
- [ ] add a disable_add_button_when_limit_reached to abyme controller. Allowing to disable the add button when the limit is reached and activating it again when a record is deleted.