aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-07-27 20:11:10 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-07-27 20:11:10 -0400
commit5cbbd71ceb98a554109ac2a4469a02b28a836e61 (patch)
treef702be437ae2bbb69a45cb43d17fced571aac83e
parent1dd24847a8dc2940bb53af3e42f715edec5f43b2 (diff)
parent31fafa54bd85cb292a5facd12d7c8f0ed13d1ea9 (diff)
Merge branch 'master' of github-tsch-brown:browngraphicslab/Dash-Web
-rw-r--r--src/client/views/collections/CollectionViewChromes.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/collections/CollectionViewChromes.tsx b/src/client/views/collections/CollectionViewChromes.tsx
index bf643347f..044d5336a 100644
--- a/src/client/views/collections/CollectionViewChromes.tsx
+++ b/src/client/views/collections/CollectionViewChromes.tsx
@@ -40,11 +40,11 @@ export class CollectionViewBaseChrome extends React.Component<CollectionViewChro
private _datePickerElGuid = Utils.GenerateGuid();
componentDidMount = () => {
- this._picker = datepicker("#" + this._datePickerElGuid, {
+ setTimeout(() => this._picker = datepicker("#" + this._datePickerElGuid, {
disabler: (date: Date) => date > new Date(),
onSelect: (instance: any, date: Date) => runInAction(() => this._dateValue = date),
dateSelected: new Date()
- });
+ }), 1000);
runInAction(() => {
this._keyRestrictions.push([<KeyRestrictionRow key={Utils.GenerateGuid()} contains={true} script={(value: string) => runInAction(() => this._keyRestrictions[0][1] = value)} />, ""]);