Sha256: e93ee4c58e14cfe07255508d7e2887b8fe674d1a519b5ebf62b354c91d83fdf3
Contents?: true
Size: 1.11 KB
Versions: 1
Compression:
Stored size: 1.11 KB
Contents
class Skr.Components.BankAccountFinder extends Lanes.React.Component propTypes: model: Lanes.PropTypes.Model commands: React.PropTypes.object autoFocus: React.PropTypes.bool name: React.PropTypes.string selectField: React.PropTypes.bool getDefaultProps: -> autoFocus: false, label: 'Bank Account', name: 'code' dataObjects: query: -> new Lanes.Models.Query({ syncOptions: @props.syncOptions, autoRetrieve: true src: Skr.Models.BankAccount, fields: [ {id:'id', visible: false} {id: 'code', fixedWidth: 130 }, {id: 'name', flex: 1} {id: 'description', flex: 1.5} ] }) render: -> props = _.clone(@props) if props.selectField <LC.SelectField queryModel={Skr.Models.BankAccount} sm=2 {...props} /> else <LC.RecordFinder ref="finder" sm=3 autoFocus commands={@props.commands} query={@query} {...props} />
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stockor-0.2 | client/skr/components/BankAccountFinder.cjsx |