         Lanes.React.Mixins.FieldErrors
     ]
 
-    pubsub: false
     propTypes:
         model:     Lanes.PropTypes.State.isRequired
         name:      React.PropTypes.string.isRequired



Lanes.Components.Form.FieldMixin = {

    bindEvents: ->
        model: "change:#{@props.name} remote-update:#{@props.name} invalid-fields invalid-field:#{@getInvalidFieldName()}"

    _unsetChangeSet: ->
        @setState(displayChangeset: false, pendingChangeSetDelay: null)

    setModelState: ->
        displayChangeset = @model.updatingFromChangeset and @model.changedAttributes()[@props.name]
        if displayChangeset and not @state.pendingChangeSetDelay
            pendingChangeSetDelay = _.delay(@_unsetChangeSet, 2000)
        @setState({pendingChangeSetDelay, displayChangeset})

    _fieldMixinGetLabelValue: ->
        @getLabelValue?() ||
