更改标题现场占位符文字 - drupal

发布于 2025-02-08 20:16:42 字数 492 浏览 3 评论 0原文

在我的内容类型表单上,我试图将占位符文本从“标题”更改为“主题”。我的字段设置如下:

”在此处输入图像说明“

此更改得以正确更新,但表单标题仍然显示为“ title”:

“在此处输入图像描述”

不确定为什么不反射。清除了缓存,并在隐身窗口上尝试了。没有运气。关于如何修复的任何帮助?

On my content type form I am trying to change the placeholder text from "Title" to "Subject". My field setting is as below:

enter image description here

This change gets updated correctly but the form title still shows as "Title" :

enter image description here

Unsure why it's not reflecting. Cleared cache and tried on incognito windows. no luck. Any help on how this can be fixed pls?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

放飞的风筝 2025-02-15 20:16:42

确保您要设置在正确的内容类型上,并且不要忘记在管理表单显示页面的保存按钮上。

如果您已经完成了上述所有问题,但仍未解决该问题,那么代码中的某个地方已覆盖了该字段的占位符配置。在这种情况下,您需要查找并删除它。

Make sure you are setting on the correct content type and don't forget to hit Save button at the bottom of the Manage form display page.

If you have done all the above and still not solved the problem then somewhere in your code has overwritten the placeholder configuration of that field. In that case you need to find and remove it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文