Menu
Welcome, Guest
Username: Password: Remember me

TOPIC: Inline edit on Listview not updating and erasing field

Inline edit on Listview not updating and erasing field 2 weeks 4 days ago #90128

  • jalamani
  • jalamani's Avatar
  • Offline
  • New Member
  • Posts: 18
  • Karma: 0
Im running SuiteCRM locally: Windows 7, Apache, PHP 7.x, MySQL, SuiteCRM 7.11.8.

Here is a screenshot of my Listview for the Contacts module (renamed to Clients): i.imgur.com/PQ7l6xj.png

The hours with client field is the field with this issue. Whenever I try to edit the number, it does not save the entry and erases the previous entry as well.

Hours is a custom integer field with default: 0, min: 0, audit checked, and inline edit checked.

The other fields are working correctly.
Last Edit: 2 weeks 4 days ago by jalamani.
The administrator has disabled public write access.

Inline edit on Listview not updating and erasing field 2 weeks 3 days ago #90182

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 11144
  • Thank you received: 1669
  • Karma: 380
Please try a couple of things

- check for JavaScript errors in your browser's developer console when you edit the field

- maybe rename the field so it doesn't contain any spaces - see if that changes anything

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.

Inline edit on Listview not updating and erasing field 2 weeks 3 days ago #90193

  • jalamani
  • jalamani's Avatar
  • Offline
  • New Member
  • Posts: 18
  • Karma: 0
The field is actually named hours_c, but I tried changing the display name anyway to have no spaces. Still have the same problem of the field disappearing and not saving.

Here is my console when trying to edit the field inline at the Listview: i.imgur.com/INrK4tG.png
The administrator has disabled public write access.

Inline edit on Listview not updating and erasing field 2 weeks 1 day ago #90202

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 11144
  • Thank you received: 1669
  • Karma: 380
What is the data type of your custom field?

Can you please try reproducing this in this live demo, so we can see if the problem is only in your installation?

www.softaculous.com/demos/SuiteCRM

It allows admin access, so you can add the field in Studio.

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.

Inline edit on Listview not updating and erasing field 2 weeks 3 hours ago #90239

  • jalamani
  • jalamani's Avatar
  • Offline
  • New Member
  • Posts: 18
  • Karma: 0
The data type is int(255).

I tried an inline edit of it in the demo from the Listview, and it works, so I suppose it is unique to my installation.
The administrator has disabled public write access.

Inline edit on Listview not updating and erasing field 2 weeks 2 hours ago #90244

  • jalamani
  • jalamani's Avatar
  • Offline
  • New Member
  • Posts: 18
  • Karma: 0
By the way, am I using the term 'inline edit' correctly? Like, does the 'inline edit' option in Studio->...->Edit Fields refer to this?
The administrator has disabled public write access.

Inline edit on Listview not updating and erasing field 1 week 6 days ago #90254

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 11144
  • Thank you received: 1669
  • Karma: 380
Inline edit is when you double-click to edit a single field directly in Detail or List views, without entering the Edit view:

user-images.githubusercontent.com/577377...c8b-d6acd7647c70.png

And yes, in Studio / Module / Fields you have an option to enable/disable this for individual fields.

I don't know how to solve your problem. Maybe I would start with some repairs from Admin / Repairs

- QR & R

- anything Javascript relate

- rebuild Relationships

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.

Inline edit on Listview not updating and erasing field 1 week 6 days ago #90287

  • jalamani
  • jalamani's Avatar
  • Offline
  • New Member
  • Posts: 18
  • Karma: 0
I realized my mistake. It shows as an integer in Studio... but I edited the list view in code rather than in Studio, and I added the field as an enum rather than an int... :oops:
The administrator has disabled public write access.

Inline edit on Listview not updating and erasing field 1 week 4 days ago #90398

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 11144
  • Thank you received: 1669
  • Karma: 380
Ok... stuff like that happens!

I'm glad you got it working! B-)

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.
Time to create page: 0.073 seconds
Powered by Kunena Forum