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
I am seeing new entries with that text for certain field types. For some field types it only happens if I use setAndSave(), but for others, it happens even with a regular save().
The save is happening via an AJAX call and I don't do any checking on old (already in the DB) vs new (values submitted via the form) so I am always setting the value of every field as part of the save process. Not sure if that is relevant or not though.
For text and date fields it's only an issue if I do setAndSave(), but for page reference fields, it happens regardless of how I save. Another problematic field type is my phone field which also gets a revision entry regardless of how I save.
I wonder if perhaps the easiest way to fix this would be to have an option to not record a revision if there is no change?
OT, but back to the phone field - it only supports the main number subfield - do you think it would be possible to support the country subfield as well?
The text was updated successfully, but these errors were encountered:
Hi @teppokoivula
I am seeing new entries with that text for certain field types. For some field types it only happens if I use
setAndSave()
, but for others, it happens even with a regularsave()
.The save is happening via an AJAX call and I don't do any checking on old (already in the DB) vs new (values submitted via the form) so I am always setting the value of every field as part of the save process. Not sure if that is relevant or not though.
For text and date fields it's only an issue if I do
setAndSave()
, but for page reference fields, it happens regardless of how I save. Another problematic field type is my phone field which also gets a revision entry regardless of how I save.I wonder if perhaps the easiest way to fix this would be to have an option to not record a revision if there is no change?
OT, but back to the phone field - it only supports the main number subfield - do you think it would be possible to support the country subfield as well?
The text was updated successfully, but these errors were encountered: