Create a Datepicker Widget in Gmail Add-on

怎甘沉沦 提交于 2019-12-24 08:23:40

问题


I am trying to collect a Date input from the user in a Gmail Add-on, but I don't know how to implement a Datepicker Widget in CardService (the only way to make a Gmail Add-on). If I look at Google's Gmail add-ons, they have such a widget:

Any suggestions please on how this can be done ?


回答1:


In short: Can't

Right now, the only way to create addons is to use CardService. However, CardService lacks certain useful widgets, such as DatePicker, MaskedTextInput, etc. However , default google add-ons seem to have much more powerful widgets, and of course the datepicker. I would recommend you to wait or do a workaround by making use of dropdown to select date, month, year, until they make it available for public.



来源:https://stackoverflow.com/questions/51978305/create-a-datepicker-widget-in-gmail-add-on

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!