We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In DateTimePicker the props passed to the Calendar element are filtered:
calProps = pick(this.props, Object.keys(Calendar.propTypes));
But it seems that onNavigate is not listed in DateTimePicker.propTypes, so can't pass it down to Calendar...
var propTypes = { disabled: _utilPropTypes2['default'].disabled, readOnly: _utilPropTypes2['default'].readOnly, onChange: _react2['default'].PropTypes.func, value: _react2['default'].PropTypes.instanceOf(Date), min: _react2['default'].PropTypes.instanceOf(Date), max: _react2['default'].PropTypes.instanceOf(Date), initialView: _react2['default'].PropTypes.oneOf(VIEW_OPTIONS), finalView: function finalView(props, propname, componentName) { var err = _react2['default'].PropTypes.oneOf(VIEW_OPTIONS)(props, propname, componentName); if (err) return err; if (VIEW_OPTIONS.indexOf(props[propname]) < VIEW_OPTIONS.indexOf(props.initialView)) return new Error(('The `' + propname + '` prop: `' + props[propname] + '` cannot be \'lower\' than the `initialView`\n prop. This creates a range that cannot be rendered.').replace(/\n\t/g, '')); }, culture: _react2['default'].PropTypes.string, footer: _react2['default'].PropTypes.bool, dayComponent: _utilPropTypes2['default'].elementType, headerFormat: _utilPropTypes2['default'].dateFormat, footerFormat: _utilPropTypes2['default'].dateFormat, dayFormat: _utilPropTypes2['default'].dateFormat, dateFormat: _utilPropTypes2['default'].dateFormat, monthFormat: _utilPropTypes2['default'].dateFormat, yearFormat: _utilPropTypes2['default'].dateFormat, decadeFormat: _utilPropTypes2['default'].dateFormat, centuryFormat: _utilPropTypes2['default'].dateFormat, messages: _react2['default'].PropTypes.shape({ moveBack: _react2['default'].PropTypes.string, moveForward: _react2['default'].PropTypes.string }) };
The text was updated successfully, but these errors were encountered:
93325fa
No branches or pull requests
In DateTimePicker the props passed to the Calendar element are filtered:
But it seems that onNavigate is not listed in DateTimePicker.propTypes, so can't pass it down to Calendar...
The text was updated successfully, but these errors were encountered: