Google Chrome浏览器不显示数据列表标签 [英] Google Chrome don't show datalist tag

查看:243
本文介绍了Google Chrome浏览器不显示数据列表标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从昨天开始,我的Google Chrome浏览器不显示数据列表的标签

Since yesterday my google chrome don't show tags of a datalist

喜欢

    <!DOCTYPE html>

    <html>
    <body>

    <form action="/action_page.php" method="get">
      <input list="browsers" name="browser">
      <datalist id="browsers">
        <option value="Internet Explorer">test</option>
        <option value="Firefox">test</option>
        <option value="Chrome">test</option>
        <option value="Opera">test</option>
        <option value="Safari">test</option>
      </datalist>
      <input type="submit">
    </form>

    <p><strong>Note:</strong> The datalist tag is not supported in Internet Explorer 9 and earlier versions, or in Safari.</p>

    </body>
    </html>

对于我的下拉数据列表,我仅获得值,而没有获得标签"test" 我使用版本73.0.3683.86(Offizieller Build)(64位)

I get for my dropdown datalist only the values, but not the tags "test" I use Version 73.0.3683.86 (Offizieller Build) (64-Bit)

但是我在另一台计算机上使用了相同的Google Chrome版本,但标记仍在起作用

But I use the same Google Chrome version on a another computer there the tags are still working

推荐答案

我相信此错误在这里 https://bugs.chromium.org/p/chromium/issues/detail?id = 945225

I believe this bug is here https://bugs.chromium.org/p/chromium/issues/detail?id=945225

第一个评论提供了一种解决方法:

The first comment give a workaround :

在修复该错误之前,一种临时的解决方法是通过使用"--disable-features = AutofillDropdownLayout"命令行开关运行Chrome来禁用该功能,或者禁用chrome://flags/#autofill-dropdown-layout

A temporary workaround until the bug is fixed is to disable the feature by running Chrome with "--disable-features=AutofillDropdownLayout" command line switch or disable chrome://flags/#autofill-dropdown-layout

这篇关于Google Chrome浏览器不显示数据列表标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆