ariclevin/YearSelectorPCF — reverse-engineered prompt
Reverse engineered prompt
Build me a Power Apps PCF control for choosing a year only value. It should be a clean modern dropdown that can be bound to a normal text field, so the saved value is just the selected year.
Before the user clicks it, it should look like a simple dropdown box. When opened, show a neat picker with 12 years at a time, highlight the current year, and let the user move backward or forward by 12 year groups. When they pick a year, close the picker and show that year in the control.
Please make it in TypeScript as a virtual PCF control, with styling that feels polished and fits nicely in model driven apps. Include everything needed to build and package it as a Power Platform solution, ideally with both managed and unmanaged outputs. Look up current PCF docs online if you need to.
Want more depth? Deep Reverse