below is the fucntion where i send text value to editor.
But somehow this function returns me empty value.
What is that I’m missing on? Can someone help me with this?
any reason why the function is set to asynchronous?
Are you sure the text value is a valid value for the
I’m not sure about text value. I’m getting time let’s say 12:30.
And i want to add an hr or minutes to that so, I was converting that text value to Date.
Does it require whole date and time?
Then how can I generate this by just having time value?
What exactly are you trying to accomplish?
Well, when user selects start time for the session I want to calculate that end time will be 1hr by default but , if user chnages the end time value then will use that chnages value.
So basiclaly i want ot perform adding hours to the value .
the session should have a date as well, and you can use it with the hour to create a
I also have this date time picker.
For which i tried the same thing,
What is wrong over here?
From the error message it looks like you want to assign a text value to a state of type date. And you are actually converting a date to a string when you assign the value to the element.
If you are working extensively with custom html elements and custom code you should consider creating a custom plugin.
The way you are working is extremely time consuming and a big pain to debug, a match that I think is not sane to have.