IDs visible on refresh/save etc.

Created on 15 September 2023, over 1 year ago
Updated 20 September 2023, over 1 year ago

Problem/Motivation

Hello,
First of all, thank you for that awesome module which should be added as option to drupal core imho.

I just wanted to raise a small bug > When I refresh the page, or save it i can still see IDs for a while ,like for 1-2 seconds, depends on saving/refresh time.

I wanted to prevent users to know that numbers (ids) but in this case they can still notice it which is not the best...

Is this anything which can be fixed ?....by ajax or so ?

🐛 Bug report
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

🇸🇰Slovakia coaston

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @coaston
  • 🇬🇧United Kingdom John Cook

    The delay happens because the IDs are hidden using JavaScript, after the page is loaded. The widgets use the same code as core, just with a shim so that the JS can identify them. I don’t know how ajax can help here (although I’m more a backend developer).

    With JavaScript disabled the widgets would default to the core behaviour, so the editor would still be able to find out the IDs if they wanted to.

    There’s already an issue to have something similar in core ( https://www.drupal.org/project/drupal/issues/2881892 🐛 UX: Hide entity ID in autocomplete widget Needs work ). From what I understand, that will remove the IDs in PHP. But that issue has been ongoing for 6 years — hence the module.

  • Status changed to Closed: works as designed over 1 year ago
Production build 0.71.5 2024