Skip to content

Instantly share code, notes, and snippets.

@keeth
keeth / Select.js
Last active December 29, 2017 11:38
A formsy-react wrapper around React Select (ES6)
import React from 'react';
import Formsy from 'formsy-react';
import ReactSelect from 'react-select';
import './Select.less';
const Select = React.createClass({
mixins: [Formsy.Mixin],
@gryzzly
gryzzly / debounced-input.js
Last active December 15, 2016 21:51
Ember Debounced Input
//
// To be used like this:
//
//
// {{debounced-input
// placeholder="1000000"
// value=propertyName
// debounceWait=300 <-- debounce wait value
// fireAtStart=false <-- corresponds to Ember.run.debounce’s 4th param, if false, will run at the end of wait period
// class="form-control" <-- all regular text input attributes work