|temp|
temp := document getElementById: 'testTagId'.
temp inspect. <== JavaScript exception: TypeError: Accessing selectionDirection on an input element that cannot have a selection.
Originally at 2013-05-23T10:54:13Z by Khubbatov Rustem
I tried to use {input type='date'} and {input type='time'} tags and find out strange error.
For example in HTML:
...
{input id='testTagId' type='date'} (or {input id='testTagId' type='time'} )
...
In Amber:
|temp|
temp := document getElementById: 'testTagId'.
temp inspect. <== JavaScript exception: TypeError: Accessing selectionDirection on an input element that cannot have a selection.
May be i am doing something wrong?
<bountysource-plugin>
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/379115-javascript-exception-typeerror-accessing-selectiondirection-on-an-input-element-that-cannot-have-a-selection?utm_campaign=plugin&utm_content=tracker%2F79201&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F79201&utm_medium=issues&utm_source=github).
</bountysource-plugin>
Originally at 2013-05-23T10:54:13Z by Khubbatov Rustem
I tried to use {input type='date'} and {input type='time'} tags and find out strange error.
For example in HTML:
... {input id='testTagId' type='date'} (or {input id='testTagId' type='time'} ) ...
In Amber:
|temp| temp := document getElementById: 'testTagId'. temp inspect. <== JavaScript exception: TypeError: Accessing selectionDirection on an input element that cannot have a selection.
May be i am doing something wrong?
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Works for me. Closing.