client/skr/components/VendorFinder.cjsx in stockor-0.4.0 vs client/skr/components/VendorFinder.cjsx in stockor-0.5.0
- old
+ new
@@ -8,10 +8,10 @@
selectField: React.PropTypes.bool
getDefaultProps: ->
autoFocus: false, name: 'vendor', label: 'Vendor Code'
- dataObjects:
+ modelBindings:
query: ->
new Lanes.Models.Query({
title: 'Vendors'
syncOptions: @props.syncOptions, autoRetrieve: true
src: Skr.Models.Vendor, fields: [