Skip to content

Not correct display of default values for a field of type JSONB #987

@tdlbw

Description

@tdlbw

It is necessary to have a field in model with type JSONB and a default value for it.

Expected behavior

  1. Click the create record button
  2. Cancel the creation of the record
  3. Try creating the record again
  4. See that all default fields with the JSONB type are filled in according to the model description in default block for JSONB field

Actual behavior

  1. Click the create record button
  2. Cancel the creation of the record
  3. Try creating the record again
  4. See that all default fields with the JSONB type are not filled in according to the model description in default block for JSONB field

Context

  • Package Version: 8.5.2
  • Express Version: 4.17.3
  • Sequelize Version: 6.17.0
  • Database Dialect: SQL
  • Database Version:
  • Postgres: 12
  • pg: 8.7.3

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