Xesued
Xesued
I believe that swapping the `this.setState(...)` and `this.setValue(value)` (https://github.com/JedWatson/react-select/blob/master/src/Select.js#L499) should solve the issue.
https://plnkr.co/edit/nXHsCdRyUfxa8OR48bmd?p=info If you change the results, you will notice an error thrown in the console.
That is a "caveat" :) Sorry for the noise.
I am also getting this. I'll try to get a test repo later today. Also getting: ``` Warning: Unknown prop `onClick` on tag. ... ```
Yes. I was. On Sep 4, 2016 7:25 PM, "bsr203" [email protected] wrote: > Yes. I too use the workaround. I came to know about it through the > recommendtations in...
I think I like `Directives.Injectables`. It is a lot more clear to me. ``` javascript @Component({ injectables:[ CoolService, TestData ] }) class MyComp{ constructor(ser:CoolService, data:TestData){/*...*/} } ``` Looking at the...
This might be a crazy idea, but what about removing it and creating a new annotation (if there isn't already one)? ``` javascript @Component({ selector: 'stuff' }) @Inject([ MyService, SomeObject...
Oooooh. I like that as well. I want both please. :smiley:
I was unaware of the existing `@Inject`. So, the current `services` just configures an existing Di Container (Injector?) with items to be injected? Is the Di Container created by the...