The Datetime Picker is loading outside of my form

The Datetime Picker is loading outside of my form

TXRTLTXRTL Posts: 2Questions: 2Answers: 0
edited March 7 in General

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' ) ),

Answers

  • colincolin Posts: 9,189Questions: 0Answers: 1,534

    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

Sign In or Register to comment.