Bug with datetime and readonly field

Bug with datetime and readonly field

christian_norpachristian_norpa Posts: 5Questions: 2Answers: 0

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

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    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

  • christian_norpachristian_norpa Posts: 5Questions: 2Answers: 0

    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

This discussion has been closed.