Bug with datetime and readonly field
Bug with datetime and readonly field
christian_norpa
Posts: 5Questions: 2Answers: 0
in Editor
Hello,
I just stumbeld upon a serious bug in Editor.
I have a readonly field (set by field method and the markup is correct) and I defined it of type "datetime" for the formatting.
When I click on the readonly field, the date editor pops up and it changes the value in the field!
Is there something I overlooked?
Thanks, Christian
This discussion has been closed.
Answers
There's a lot going on there. Would you be able to modify this example please to demonstrate the issue, or link to your page.
Colin
I did add "attr: { readonly: true },"
to the age field and the datetime field.
While the age is not changeable anymore, the date picker pops up and changes the date.
It's not possible to change the date manually editing the field, but the picker can do it.
Christian