Skip to content

CRUD - delete not working #911

@mvorisek

Description

@mvorisek

Consider this model:

class User extends BaseModel
{
    /** @var string */
    public $table = 'user';

    public function init()
    {
        parent::init();

        $this->addField('email', ['required' => true]);
    }

Currently, when:

  • User model is present/saved and:
  • delete button is pressed and delete is confirmed

then:

the CRUD shows edit dialog, instead of sending a request to server to delete the model immediatelly.

Metadata

Metadata

Assignees

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