I use ProMotion with PM::FormotionScreen screen.
How to use row.on_delete callback from Formotion in ProMotion?
I have this table_data method
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
screenshot: https://i.stack.imgur.com/e1dlu.png