Skip to content

Initial value unix epoch #217

Open
Open
@Tampa

Description

@Tampa

Putting the epoch into the value part of the input I get it converted when I click on the field(not automatically though), but placing it inside initialValue: for rome the input field remains blank. It seems to fetch it fine as soon as I click the field, but doesn't initially populate anything.

<input id="datetime" class="input" data-rome-id="0">

document.addEventListener('DOMContentLoaded', initload, false);

function initload () {
	rome(datetime, { initialValue: '<?php echo $dateUTC; ?>' });
}

What am I doing wrong here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions