My user table has boolean ‘isActive’ field. In postgres the column is with value as t or f.
I am using modal for creating new record. This works fine if i remove ‘isActive’ from insert query but fail if this field is selected with 500 error.
This is payload for request -
- email:umeshxxxxxx@gmail.com
- password:1
- first_name:
- last_name:
- date_signup:
- isActive:t
I tried all values for checkbox like t, ‘t’, 1, 0
Am I forgetting any step for checkbox configuration. (The create form is generated by generator)
regards