Revision of checkbox does not show content
Support › MB Revision › Revision of checkbox does not show contentResolved
- This topic has 9 replies, 2 voices, and was last updated 6 years, 6 months ago by
[email protected].
-
AuthorPosts
-
September 11, 2018 at 2:28 PM #11315
[email protected]
ParticipantDear Support,
Ive purchased MB Revision to be able to track revisions of my custom fields. I noticed that when I check/uncheck checkboxes that the revision is shown, but when I click on it I only see the Post Title but not the value or the content of the checkbox itself. I can't tell from the revisions which checkbox has been checked. Am I doing something wrong?
Here is the code:
September 12, 2018 at 9:03 AM #11322Anh Tran
KeymasterHi,
Thanks for your feedback. I've checked the plugin and found a bug from the previous version that prevents the fields showing in the comparison screen. I've just pushed a fix to the plugin. Please update it.
Thanks,
AnhSeptember 13, 2018 at 2:42 PM #11331[email protected]
ParticipantHi Anh,
Thank you for the fix! Its working now...
However in the revisions of the checkboxes it shows me which checkbox has been checked based on the value attribute of the input element. It would be nice/better to have the text of the label shown here.
My code is in English, but my app is in Dutch and my customers prefer to see the same text as is shown with the checkbox.
Is there some way to show the label text instead of the input value?
September 14, 2018 at 3:55 PM #11342Anh Tran
KeymasterHello,
This is a really good idea! I've updated the extension to support showing label instead of value for choice fields (checkbox list, radio, select and select advanced). Please update.
September 17, 2018 at 2:04 PM #11364[email protected]
ParticipantThat's great! Thanks a lot for your support!
Kind regards,
Rob
September 26, 2018 at 4:58 PM #11433[email protected]
ParticipantDear Anh,
I have another issue relating this topic. Whenever someone edits a select2 field the revision shows only a number. For example, this happens with Type => taxonomy_advanced. I think it shows the taxonomy id in the revision. It would be nice to have the option's text shown in the revision.
Can you help me with a nice solution to this request?
Thanks!
September 27, 2018 at 10:18 AM #11437Anh Tran
KeymasterHi Rob,
You're right. It shows the valued stored in the DB, e.g. the term IDs. In the previous update, I made it show text for only select/select_advanced/checkbox_list/radio fields. I'll add support for taxonomy, post and user fields.
September 27, 2018 at 3:52 PM #11440Anh Tran
KeymasterHi Rob,
I've just updated the MB Revision to version 1.3.0 to supports showing labels for taxonomy_advanced, user and post field. Please update.
September 27, 2018 at 7:14 PM #11441[email protected]
ParticipantThanks for the update! Unfortunately im getting an error 500 on my production server in the Revisions overview (after clicking Browse).
I will try to find out what is wrong with it..
September 27, 2018 at 7:26 PM #11444[email protected]
ParticipantIt was not the fault of your plugin. I deactivated WP-rocket and reactivated it and now everything works...
Thanks for your support! 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.