You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first of all: thanks for this plugin, it saved me a lot of work and works perfectly with my Rails application!
I got a small problem, but I'm not sure if it's a problem with inplace or with my data. If I click on a field in my table to edit, it works fine. But if I open it to edit but don't actually edit anything (or just press cancel), the old value is gone and the table field is empty.
To display the value again, I have to reload the page.
Hey,
first of all: thanks for this plugin, it saved me a lot of work and works perfectly with my Rails application!
I got a small problem, but I'm not sure if it's a problem with inplace or with my data. If I click on a field in my table to edit, it works fine. But if I open it to edit but don't actually edit anything (or just press cancel), the old value is gone and the table field is empty.
To display the value again, I have to reload the page.
Here's my JS-Code:
$(".inplace1").inplace({ method: 'PATCH', url: '/prices/2/1', fieldName: 'price[meal]', fieldClass: 'form-control', buttonOrder: ['save'], save: true, cancel: false, saveClass: 'btn btn-success mt-2', saveValue: 'Speichern' });
And my view code:
<div class="inplace1"><%= number_to_currency(price_clinic.meal, unit: "€", separator: ",", format: "%n%u") %></div>
I'll add a screenshot so it's clear what I mean:
Any ideas on that?
The text was updated successfully, but these errors were encountered: