@apexcura/ui-components 0.0.15-Beta5 → 0.0.15-Beta6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -825,7 +825,7 @@ var DatePickerElement = (props) => {
|
|
|
825
825
|
const [dateState, setDateState] = (0, import_react21.useState)("");
|
|
826
826
|
const handleChange = (date, dateString) => {
|
|
827
827
|
if (date) {
|
|
828
|
-
const formattedDate =
|
|
828
|
+
const formattedDate = dateString;
|
|
829
829
|
setDateState(date);
|
|
830
830
|
if (props.onChange) {
|
|
831
831
|
props.onChange(formattedDate);
|
package/dist/index.mjs
CHANGED
|
@@ -764,7 +764,7 @@ var DatePickerElement = (props) => {
|
|
|
764
764
|
const [dateState, setDateState] = useState7("");
|
|
765
765
|
const handleChange = (date, dateString) => {
|
|
766
766
|
if (date) {
|
|
767
|
-
const formattedDate =
|
|
767
|
+
const formattedDate = dateString;
|
|
768
768
|
setDateState(date);
|
|
769
769
|
if (props.onChange) {
|
|
770
770
|
props.onChange(formattedDate);
|