⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

How to clear relation field after add



corn

corn
  • profile picture
  • Member

Posted 01 September 2020 - 05:32 AM

I can show my problem here:
https://www.grocerycrud.com/demo/bootstrap_theme/add

I fill it out the form. I select one item from "from Employeer" field, e.g.: "Bondur".
i submit form with success. Form will be empty, but "from Employeer" field show previous selected item("Bondur"). Another problem is that if I fill out the form now, it won’t save relation value.

How to clear relation field after add?