I want to select date and time from devextreme data time widget and where this data entered this field is locked.
Asked
Active
Viewed 121 times
-2
-
Can you add some information on what you've tried and what isn't working? – agoff Jan 23 '23 at 14:33
-
I want to select date and time from this date/time widget. – Muhammad Bilal Jan 24 '23 at 04:20
1 Answers
4
There are two <input>
for each time value on the form.
The first is hidden but has the value see <input type="hidden" value="4">
and the second is for up/down control see <input inputmode="decimal"...
.
To change the value directly, use force:true
on the hidden <input>
cy.get('dx-timeview')
.find('input:hidden')
.type('6', {force:true})

Lyonne
- 181
- 7