I’m trying to create a picklist of the last 5 years and the next 5 years for a UI-only picklist field. What’s the proper output/return value? Or am I rendering directly in the snippet? I can’t find documentation anywhere.
Thanks,
Seth
Page 1 / 1
You’ll need to return an object from the snippet with specific properties. You can look at this documentation to see the format of the picklist object. Here’s an example snippet:
var params = argumentse0], $ = skuid.$;<br>var entries = s];<br>entries.push(<br> { value: 'Working', label: 'Working', defaultValue: false },<br> { value: 'Submitted', label: 'Submitted', defaultValue: false }<br>);<br>return entries;
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.