         @cached_fields = null
         if @view.model
             this.setAllFields()
-        @view.$el.on("change", input_selector, this.onFieldChange )
+        @view.$el.on("change", input_selector, this.onFieldChange)
 
     rebindModel: (view, model)->
         this.clearErrors()

                    file
                else
                    el.val(value)

        else if el.is('input') || el.is('select') || el.is('textarea')
            el.val(value ||  ( if value == 0 then '0' else '') )
        else

        this.rebindModel( @view, @view.model )

    onFieldChange: (ev)->
        el = Lanes.$(ev.target)
        name = el.attr('name')
        return unless @view.model?.hasAttribute(name)
        val = el.val()
        unless false == this.view.trigger("update:#{val}", val)
            el[0].binding_is_setting=true; @view.model.setFromView(name, val); delete el[0].binding_is_setting
        msg = @view.model.checkValid(name,val)
        this.setError( el, msg )
        return true

    onAttributeUpdate: (model, opts={})->
        attributes = if opts.all then this.attributesFor(model) else model.changedAttributes()
