var autoComplete = CardService.newTextInput()
.setFieldName('autoComplete')
.setTitle('Auto Complete')
.setSuggestions(CardService.newSuggestions()
.addSuggestions([1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40]);
此小部件限制编号。 30
的下拉菜单中有很多选项,我在文档中找不到对该限制的任何引用。
我正在尝试为Currency
添加一个正在使用的附件的字段。
有人知道该怎么做吗?
感谢您的帮助。
答案 0 :(得分:0)
我添加30多个项目没有问题:
var zSuggestions = ['1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31','32','33','34'];
var widget = CardService.newTextInput()
.setTitle('some title')
.setFieldName('some_name')
.setValue('3')
.setSuggestions(CardService.newSuggestions()
.addSuggestions(zSuggestions));
实际上已经做了200多次。想知道最近是否有变化?