search

Home  >  Q&A  >  body text

javascript - Why does the disabled attribute of picker in WeChat applet not take effect?

picker works normally, but now there is a scenario where picker is not triggered under certain conditions, so I thought of
disabled, but it doesn't seem to take effect.

I want to use a variable in the page to modify the value of disabled. . But every time the value of disabled is an empty string.

Feelings What is the reason for this, please tell me?

大家讲道理大家讲道理2735 days ago1035

reply all(1)I'll reply

  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-19 10:38:49

    Can you read the document carefully

    disabled    Boolean    false    是否禁用

    disabled是布尔型,你给赋值"false"就是trueah

    reply
    0
  • Cancelreply