paljs / prisma-tools

Prisma tools to help you generate CRUD system for GraphQL servers
https://paljs.com
MIT License
683 stars 54 forks source link

disable save button when entering edit view #188

Closed gtolarc closed 3 years ago

gtolarc commented 3 years ago

I want the save button to be activated only when there is a change in the field in the update view.

Currently, it seems to be detecting only errors. https://github.com/paljs/prisma-tools/blob/master/packages/admin/src/PrismaTable/Form/index.tsx#L157