AmpersandJS / ampersand-form-view

Completely customizable form lib for bulletproof clientside forms.
MIT License
26 stars 20 forks source link

General `change` event #43

Open dhritzkiv opened 9 years ago

dhritzkiv commented 9 years ago

Feature request: support a general change event when a field changes, and not just change:field.

This would match ampersand-state and ampersand-views behaviours.

Currently I do this by:

view.on('all', function(eventType) {
    if (/^change/.test(eventType)) {
        //match all change events
    }
});

which is less than ideal.

It would be nice to simply do:

view.on('change', function() {
    match all change events
});

This issue is related to #8, #20, and #42.

countzero commented 7 years ago

+1

countzero commented 7 years ago

See also #69