Page 1 of 1

Picker component not working.

Posted: 2024年 Apr 13日 14:50
by Mywatt Dev
  • Tuya MiniApp Tools version information: 0.5.15

  • The versions of @ray-js/ray: 1.4.45, @ray-js/panel-sdk: 1.10.0

  • Mobile device information: Andriod

  • Related code:
    With this code the screen is completely blank.

    Screenshot from 2024-04-13 12-17-45.png
  • I have also tried. But I get error stating TimePicker is not available.

    WhatsApp Image 2024-04-10 at 17.55.10.jpeg

Re: Picker component not working.

Posted: 2024年 Apr 13日 16:39
by 智能小程序管理员
截屏2024-04-13 16.36.38.png

Re: Picker component not working.

Posted: 2024年 Apr 15日 15:52
by Mywatt Dev

I used the code changes suggested. But, the entire screen goes blank. Please help.

WhatsApp Image 2024-04-15 at 11.58.38.jpeg
WhatsApp Image 2024-04-15 at 11.59.25.jpeg
WhatsApp Image 2024-04-15 at 12.17.07.jpeg

Re: Picker component not working.

Posted: 2024年 Apr 15日 16:07
by 智能小程序开发者

May I ask which template you are using on the IDE and whether there is an error message


Re: Picker component not working.

Posted: 2024年 Apr 15日 16:08
by 智能小程序开发者

Could you please send package.json to us for a look


Re: Picker component not working.

Posted: 2024年 Apr 15日 16:51
by sansan

Re: Picker component not working.

Posted: 2024年 Apr 16日 17:22
by Mywatt Dev
package.json.txt
(1.31 KiB) Downloaded 133 times

Re: Picker component not working.

Posted: 2024年 Apr 16日 19:31
by noyobo
  1. Exit the IDE
  2. Delete the devMode field in project.tuya.json
  3. Start npm run start in the terminal command line
    3.1 By the way, please also provide feedback on the log information of npm run start.
  4. Reopen the IDE

Try this, if there is still a problem, send the log file