-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I did all kinds of bullshit to make this mother fucker post a project…
…. I finally got it to work. I learned some shit, but mother fucker that was frustrating
- Loading branch information
Showing
17 changed files
with
914 additions
and
39 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
// import React, { useState } from 'react'; | ||
// import dayjs, { Dayjs } from 'dayjs'; | ||
// import TextField from '@mui/material/TextField'; | ||
// import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'; | ||
// import { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider'; | ||
// import { DatePicker } from '@mui/x-date-pickers/DatePicker'; | ||
// import MomentUtils from '@date-io/moment'; | ||
|
||
// export default function BasicDatePicker(props) { | ||
// console.log('DatePicker props:', props); | ||
// const [value, setValue] = useState(dayjs()); | ||
// const [esd, setEsd] = useState(null); | ||
// const [ecd, setEcd] = useState(null); | ||
|
||
// const handleDateChange = (newValue) => { | ||
// setValue(newValue); | ||
// if (props.label === 'Est. Start Date') { | ||
// setEsd(newValue.$d); | ||
// let payload = esd; | ||
// props.addESD(payload); | ||
// } else if (props.label === 'Est. Complete Date') { | ||
// setEcd(newValue.$d); | ||
// let payload = ecd; | ||
// props.addECD(payload); | ||
// } | ||
// }; | ||
|
||
// return ( | ||
// <LocalizationProvider dateAdapter={AdapterDayjs}> | ||
// <DatePicker | ||
// label={props.label} | ||
// value={value} | ||
// onChange={handleDateChange} | ||
// renderInput={(params) => <TextField {...params} />} | ||
// /> | ||
// </LocalizationProvider> | ||
// ); | ||
// } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.