Giter Site home page Giter Site logo

Comments (4)

anke1460 avatar anke1460 commented on June 2, 2024 1

找到原因了,是用了一个select扩展插件引起的search问题

from layui.

sentsim avatar sentsim commented on June 2, 2024

layer.open()success 中执行 form.render('select') 完成 select 组件的渲染,同时还要确保 select 是在一个 class="layui-form" 的容器中。要细读文档:https://layui.dev/docs/2/form/#render

另外,以后这类 Usage 性质的问题尽量不要发到 Issues,参考《Layui Issue 指南

from layui.

anke1460 avatar anke1460 commented on June 2, 2024

@sentsim form.render('select') 或 form.render(); 都执行过,我现在版本2.8.0 弹出层也是搜索问题,然后替换成2.9.3,搜索不工作,另外下拉框选择会延迟出现上一次的选择结果

from layui.

github-actions avatar github-actions commented on June 2, 2024

@anke1460 你好,请提供一个最小化的重现,以便我们为你协助排查问题。良好的重现应当包括但不仅限于:

  • 产生问题的详细步骤
  • 与问题相关的完整代码
  • 在线 Demo (推荐通过 stackblitzcodepen 创建)

详见:🍀 Layui Issue 贡献指南
延伸:👉 为什么要提供最小化重现?

from layui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.