Skip to content

Uncaught TypeError: _moment2.default.range is not a function #8

Description

@barbalex

I get this error when opening the picker:

Uncaught TypeError: _moment2.default.range is not a function

Installed this in package.json, dependencies via:

"react-bootstrap-datetimepicker": "git://github.com/LKay/react-bootstrap-datetimepicker"

and calling it so:

<DateTimeField
  value={moment(geschaeft.fristDirektion, 'DD.MM.YYYY').format('DD.MM.YYYY')}
  format="DD.MM.YYYY"
  inputFormat="DD.MM.YYYY"
  mode="date"
  showToday
  onChange={this.onChangeDate.bind(this, 'fristDirektion')}
  //inputProps={dateFieldInputProps}
/>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions