#✅ Directus interface extension question?

6 messages · Page 1 of 1 (latest)

rough sandal
#

How i can call some function before saving data?
You can find this save button all extension interfaces

cursive hearthBOT
#

Thanks for posting! This is a community powered server, so you may or may not get an answer based on available help and expertise. To increase your chances of somebody being able to help you, please help us help you making sure you:

  • Adding an explanation of exactly what you're trying to achieve.
  • Adding any and all related code or previous attempts.
  • Describing the exact issue or error you are facing.
  • Posting any screenshots if applicable.
  • Reading through https://stackoverflow.com/help/how-to-ask.

When you're done with this thread, please close it. Thanks! ✨

(If you have a support agreement and need help, please contact the core team via email.)

granite pike
#

How i can call some function before saving data?
Depends on what event you want to call the function in your interface, generally interfaces are not aware of the parent saving and deal with their data in a more realtime manner.

rough sandal
#

Hmm. I try that kind when user press save button then that launch function what make magic.

rough sandal
#

I found solutions. I can access to the save button with ”document.queryselector” the method and then i can modified the save button properties.

cursive hearthBOT
#

✅ Directus interface extension question?