Verwendung von .on_delete Callback in ProMotion-Formotion
Ich verwende ProMotion mit dem PM :: FormotionScreen-Bildschirm.
Wie benutzt man row.on_delete Rückruf von Formotion in ProMotion?
Ich habe diese table_data-Methode
def table_data
{
sections: [{
rows: [
{
title: "URL",
key: :url,
placeholder: "http://myapp/dj_mon/",
action: :delete_account,
deletable: true,
type: :string,
auto_correction: :no,
auto_capitalization: :none
}
]
}]
}
end
Bildschirmfoto:http://i.stack.imgur.com/e1dlu.png