Skip to content

Stop new item from inserting #95

@RPHAELLA

Description

@RPHAELLA

For insertItem(item): Promise|insertedItem,
If no item is returned, inserting item will be used as inserted item.

In my case, validation is added to insertItem(item) function, thus, if the validation fail, no ajax was send to insert data into the database. Yet, new row is still added to the table without fail, how do i disable the new insertion?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions