Skip to content
Discussion options

You must be logged in to vote

Hi @infiniteroles ,

As I understood the code at glance, I think this line is causing error:

CRUD::addField([ 'name' => 'id', 'type' => 'text', 'label' => 'Id', 'attributes' => [ 'readonly' => 'readonly', 'disabled' => 'disabled', ] ]);

Please remove "id" from addField as its auto-increment. Pl try & let me know if this works.

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@infiniteroles
Comment options

@jcastroa87
Comment options

Comment options

You must be logged in to vote
2 replies
@jcastroa87
Comment options

@munjaldevelopment
Comment options

Answer selected by jcastroa87
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants