Skip to content

Commit

Permalink
fix(date picker): detect change range interval console error (carbon-…
Browse files Browse the repository at this point in the history
…design-system#11532)

### Related Ticket(s)

Closes carbon-design-system#11490

### Description

In Date picker element, dev tool console shows error `Uncaught TypeError: fp.getDateStr is not a function`.

### Changelog

**Removed**

- Removed custom event handling function.

<!-- React and Web Component deploy previews are enabled by default. -->
<!-- To enable additional available deploy previews, apply the following -->
<!-- labels for the corresponding package: -->
<!-- *** "test: e2e": Codesandbox examples and e2e integration tests -->
<!-- *** "package: services": Services -->
<!-- *** "package: utilities": Utilities -->
<!-- *** "RTL": React / Web Components (RTL) -->
<!-- *** "feature flag": React / Web Components (experimental) -->
  • Loading branch information
sangeethababu9223 authored Feb 28, 2024
1 parent d287e33 commit 0ba9b06
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/carbon-web-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"@carbon/styles": "1.51.0",
"@floating-ui/dom": "^1.6.3",
"@ibm/telemetry-js": "^1.2.1",
"flatpickr": "4.6.1",
"flatpickr": "4.6.13",
"lit": "^2.7.6",
"lodash-es": "^4.17.21"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ export default (config: Config): Plugin => {
fp._hBXCEDatePickerRangePluginOnBlurTo.release();
}
};

return Object.assign(origRangePlugin, {
onReady() {
origOnReady.call(this);
Expand Down

0 comments on commit 0ba9b06

Please sign in to comment.