It looks like a change in rhino-compute on March 16 made it so the Maximum is no longer returned as part of the IO response for the “Get Number” contextual input. It is set to ‘null’. Build prior to that returned the Maximum properly. I’ve included the ioresponses from before and after the change for reference.
Hi Marco. I’ve just pushed a fix for this issue. Try installing Hops 0.16.25 from the package manager. You may want to also make sure you’re using the latest build of Rhino 8.21 as well (if you haven’t already updated to that version). Thanks for reporting this issue.
Hi Andy, I checked and it works now, thanks for the fix.
On a related note, when a contextual input is used on rhino compute, it is usually associated with a slider in the user interface: it would be useful to specify the “step” (decimal precision), so that a proper slider can be generated. Right now I’m using some custom metadata, but it would be nice to have a native implementation. Should I open a new topic for this?