Lenkelheit / Coursework

This repository contains Instagram-like application
Apache License 2.0
1 stars 0 forks source link

Changed value without saving #153

Closed iamprovidence closed 5 years ago

iamprovidence commented 5 years ago

Describe the bug You can change value without saving it.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Admin panel'
  2. Click on 'Subject', the same about others entities
  3. Click on 'Edit'
  4. Change value
  5. Click on 'Go Back'
  6. You will see that value has been changed

Expected behavior If you click go back without saving value it should not be changed

Additional context I think its happens because entitiy is attached,

Solution I think one of this can help: