Skip to content

Date format missing from create/edit screens #889

@arjasco

Description

@arjasco

New issue as advised on #867

  • Laravel Version: 5.7.9
  • Nova Version: 1.1.4
  • PHP Version: 7.2.3

Description:

Setting a date format only reflects on index and details screen.

This is confusing, especially those from countries that don't use the Y-M-D format.

While building the form elements i genuinely thought the ->format() method was doing nothing till I noticed it only applies on the index/details screens.

Steps To Reproduce:

Date::make('Date')->format('DD/MMM/YYYY')->sortable(),

Format won't be available on create and edit screens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions