Closed lionminhu closed 5 years ago
When we need to select date and time, I think we can use react-datepicker. I'll post relevant links for reference.
react-datepicker
Example documentation https://reactdatepicker.com/
Another example, with testing https://github.com/django-stars/testing-jest-enzyme/blob/master/shared/forms/inputs/DateInput.js https://github.com/django-stars/testing-jest-enzyme/blob/master/shared/forms/inputs/__tests__/DateInput.test.js
react-datepicker가 잘 작동하지 않아서 그냥 <input type="datetime-local">로 처리함. (이 PR 참고 https://github.com/swpp201901-team06/swpp-project/pull/87)
<input type="datetime-local">
When we need to select date and time, I think we can use
react-datepicker
. I'll post relevant links for reference.Example documentation https://reactdatepicker.com/
Another example, with testing https://github.com/django-stars/testing-jest-enzyme/blob/master/shared/forms/inputs/DateInput.js https://github.com/django-stars/testing-jest-enzyme/blob/master/shared/forms/inputs/__tests__/DateInput.test.js