Closed billwitt27 closed 10 years ago
Hi Bill. This is probably the bug in the IDE which only allows single values to be selected. During dev flip multiples to false and then back to true just before you release. I will add a bug report tonight
-Stan
On Jun 16, 2014, at 11:43 AM, billwitt27 notifications@github.com wrote:
The data from the pull down menu is returning a null string for $days. So....I simply created a text box to write in the days of the week you want to water. That seems to be working fine. The simple change is:
section("Which days of the week?") { input name: "days", type: "string", required: true, title: "Which days of the week?" log.debug "days to run are: ${days}" }
— Reply to this email directly or view it on GitHub.
Hi Bill, I just copied down the code for the watering days app in the branch patch-1 (which is where you are reporting the issue). Just to be sure, I re-installed as a smart app, published and then added a working instance to my environment using iOS. Everything checks out. I assume the bug you observed was within the SmartThings IDE which has a known but poorly documented bug that does not allow select multiple to be true in the preferences section.
Bill, I haven't heard back. I am going to close. If this is an issue different than the IDE bug, please repost
Sorry. I was on a business trip. You are correct, this was the IDE bug. Good catch.
You guys have been busy while I was away! I have all the new updates installed and running great. VERY COOL!
The data from the pull down menu is returning a null string for $days. So....I simply created a text box to write in the days of the week you want to water. That seems to be working fine. The simple change is:
section("Which days of the week?") { input name: "days", type: "string", required: true, title: "Which days of the week?" log.debug "days to run are: ${days}" }