Giter Site home page Giter Site logo

您好,我在使用datePicker和cityPicker的时候选择省之后后面的市不会跟着变化,并且样式也错乱了,麻烦看下 about ngx-weui HOT 11 CLOSED

ccjhpu avatar ccjhpu commented on June 3, 2024
您好,我在使用datePicker和cityPicker的时候选择省之后后面的市不会跟着变化,并且样式也错乱了,麻烦看下

from ngx-weui.

Comments (11)

ccjhpu avatar ccjhpu commented on June 3, 2024

这个是报错信息
ERROR TypeError: Cannot read property 'target' of undefined
at PickerComponent.push.../../node_modules/ngx-weui/ivy_ngcc/fesm5/ngx-weui-picker.js.PickerComponent._onFocus (ngx-weui-picker.js:702)
at PickerComponent_input_0_Template_input_focus_0_listener (ngx-weui-picker.js:40)
at executeListenerWithErrorHandling (core.js:16332)

from ngx-weui.

cipchk avatar cipchk commented on June 3, 2024

如果你在使用lvy,那抱歉目前还不支持,会在ng9正式版开始我在做这方面的工作。

from ngx-weui.

ccjhpu avatar ccjhpu commented on June 3, 2024

您好我是angular初级用户,在麻烦您讲下 lvy是哪个知识点,是因为我项目使用ng9的原因吗?

from ngx-weui.

ccjhpu avatar ccjhpu commented on June 3, 2024

请问适配到angular9大概还需要多长时间?

from ngx-weui.

cipchk avatar cipchk commented on June 3, 2024

是的,ng9默认开启lvy。

from ngx-weui.

ccjhpu avatar ccjhpu commented on June 3, 2024

可以关闭lvy或者其他折中的解决方案吗,麻烦了,因为团队项目之前是使用 NgZorroAntdMobile组件库,在升级到ng9之后同样遇到build报错到问题,没想到在尝试使用ngx-weui时也遇到问题了,麻烦了

from ngx-weui.

cipchk avatar cipchk commented on June 3, 2024

可以关闭lvy,可以自行google。

from ngx-weui.

ccjhpu avatar ccjhpu commented on June 3, 2024

您好,我在看文档的时候找到了一个替代的解决方案,现在有个问题就是我该如何设置这个日期的最大值和最小值

        <div class="weui-cell__hd"><label for="" class="weui-label">日期</label></div>
        <div class="weui-cell__bd">
          <input class="weui-input" [(ngModel)]="res.date" name="date" type="date" value="" />
        </div>
      </div>

from ngx-weui.

cipchk avatar cipchk commented on June 3, 2024

原生的话,你可以参考 https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date#max

from ngx-weui.

ccjhpu avatar ccjhpu commented on June 3, 2024

刚试了,在iOS系统里没有效果

from ngx-weui.

Grenwei avatar Grenwei commented on June 3, 2024

可以关闭lvy,可以自行google。

你好,我目前的版本是Angular8,但是也遇到了Cannot read property 'target' of undefined这个问题。

from ngx-weui.

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.