News for hackers. Stuff that matters.
Re:Date/Time Inputs Enabled on Firefox Nightly by pault on Monday October 23, 2017 @05:44AM (#15531910)
It’s possible to have both; just make your js component issue a synthetic click on a hidden native input, and read the value when changed. I do this all the time.
Re:Date/Time Inputs Enabled on Firefox Nightly by Piskvorrr on Monday October 23, 2017 @07:01AM (#15532208)
And oh the fun you'll have when you try to use a keyboard! (Nope nope nope, everyone clicks, you with the keyboard don't matter, and you with the screenreader just go away already)
Re:Date/Time Inputs Enabled on Firefox Nightly by pault on Monday October 23, 2017 @07:08AM (#15532236)
The idea is that you are using the native field to listen for user events, so the ux shouldn’t change. You have to proxy click events since the element isn’t visible, but key presses work as usual.