The Datetime Picker is loading outside of my form
The Datetime Picker is loading outside of my form
Hello,
I am using the editor and for some reason the datetime picker is loading outside of the form. I am using the foundation option from the generator.
Here is the js
{
"label": "DOB:",
"name": "dob",
"type": "datetime",
"format": "YYYY/MM/DD",
},
Here is the php
Field::inst( 'dob' )
->validator( Validate::dateFormat( 'Y/m/d' ) )
->getFormatter( Format::dateSqlToFormat( 'Y/m/d' ) )
->setFormatter( Format::dateFormatToSql( 'Y/m/d' ) ),
This discussion has been closed.
Answers
Please can you give some more information - what do you mean by it loads outside of the form? We're happy to take a look if you can link to your page.
Colin