Thank you so much for explaining every relevant point in detail. I couldn't have understood this components' intricacies if it wasn't for your careful explanation. I really appreciate it.
I am in Bangladesh it still showing 6 hour time difference. Not the time I just select. How to get the date and time I select? I do not require GMT adjustment.
In the DatePicker.js file there is a className="form-control">; there is no CSS class by that name in react-datepicker/dist/react-datepicker.css. What is the source?
I have an error when submitting an empty form ( react-dom.development.js:14887 Uncaught Error: Objects are not valid as a React child (found: object with keys {email, description, selectOption, radioOption, checkboxOption, birthDate}). If you meant to render a collection of children, use an array instead.
well, you can create your own validation : const validateCheckbox =value=>{ let error; if(value.length < 1) error ="Required" return error } and you can passed it like this
setFieldValue("startdate", date) } /> ); }} I am using field array, I am not able to assign the date to my date field. Anyone pls help me. How do I assign the date to the required place,
Thank you so much for explaining every relevant point in detail. I couldn't have understood this components' intricacies if it wasn't for your careful explanation. I really appreciate it.
You are an absolute legend!! Thank you so much for this series.
Can you add a video on how to handle file uploads and how to get the filename size etc.. when the file is selected?
So cool. Create some practical form as you said in the video. Form using Material UI + Formik if possible.
Thank you
Thank you 🙏
Another gem added to mah treasury. Thank Vishwas!
Thanks for your series man, was really helpful.
Thank you so much bro for such a good series..
React is useless, uwill ended up with 100 npm packages.....
Thank you so much for this extremely informative series.
--Btw: My datepicker seem to be not getting css. Any particular cause for that
Thank you very much!
Can we change the CSS of date picker calendar?
I am in Bangladesh it still showing 6 hour time difference. Not the time I just select. How to get the date and time I select? I do not require GMT adjustment.
In the DatePicker.js file there is a className="form-control">; there is no CSS class by that name in react-datepicker/dist/react-datepicker.css. What is the source?
Can i use this date picker for creating calender? And can i use proper css for this
birthDate: Yup.date().required('Date is required').nullable() - This line is not getting the ErrorMessage text . How to correct it??
It's cause nullable method is added. Won't give an error when it's null.
remove .nullable()
Please type in the field instead of select from the datepicker.
Is this date picker working on IE 11 or any other web browsers other than chrome edge and firefox
I have an error when submitting an empty form (
react-dom.development.js:14887 Uncaught Error: Objects are not valid as a React child (found: object with keys {email, description, selectOption, radioOption, checkboxOption, birthDate}). If you meant to render a collection of children, use an array instead.
please share link for this code Repo
This not working ;( error Uncaught RangeError: Invalid time value
Required validation is not working for array.. Can anyone please help me.. Yup.array().required('Required!')
@Uladzimir Losich yup.array().min(1, "Required") if you still need
well, you can create your own validation :
const validateCheckbox =value=>{
let error;
if(value.length < 1)
error ="Required"
return error
}
and you can passed it like this
{(props) => {
const { field, form } = props;
const { value } = field;
const { setFieldValue, values } = form;
return (
setFieldValue("startdate", date)
}
/>
);
}}
I am using field array, I am not able to assign the date to my date field. Anyone pls help me. How do I assign the date to the required place,
Thank you so much!