Create a Datepicker Widget in Gmail Add-on

2019-07-27 20:43发布

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:

enter image description here

Any suggestions please on how this can be done ?

1条回答
SAY GOODBYE
2楼-- · 2019-07-27 21:25

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.

查看更多
登录 后发表回答