如何在 Vaadin 日期选择器的弹出窗口中仅显示年份和月份,而不显示日期?
如何在 Vaadin 日期选择器的弹出窗口中仅显示年份和月份,而不显示日期? 有这样的可能吗? 请参阅屏幕截图中的示例
How to display only years and months without days in a pop-up window in Vaadin datepicker?
Is there such a possibility?
See the example in the screenshot
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
DatePicker 没有这种功能,至少目前是这样。实现一年零一个月的弹出窗口的最简单方法可能是带有两个选择组件的对话框。
DatePicker doesn't have that kind of functionality, at least at the moment. Probably the easiest way to implement a popup for a year and a month would be a Dialog with two Select components.