Upgrade to Pro — share decks privately, control downloads, hide ads and more …

年月日の入力どうしよう

otukutun
November 12, 2020

 年月日の入力どうしよう

otukutun

November 12, 2020
Tweet

More Decks by otukutun

Other Decks in Technology

Transcript

  1. ೥݄೔ͷ࣮૷ํ๏ • input type=date • select / input type=text Ͱ೥݄೔ΛͦΕͧΕදࣔ

    • JavaScriptͰΧϨϯμʔUIΛදࣔ • React/Vue.js • jQuery UI(Datepicker) ͍Ζ͍Ζ࣮૷ํ๏͸͋Δʂʂ
  2. input type=date͸΍Ί·ͨ͠ • iOS safari Ͱ࠷େ஋ɺ࠷খ஋ͷࢦఆ͕Ͱ͖ͳ͍ • ະೖྗ࣌ʹplaceholder͕Ұ෦௵Εͯ͠·͏ on iOS13

    Safari • heightΛࢦఆ͢Δ͜ͱͰճආՄೳ • macOS Safari Ͱ͸ͦ΋ͦ΋࢖͑ͳ͍(αΠτతʹӨڹ͸ܰ ඍ • Safari Technology Preview 112͔Β͸࢖͑ΔΑ͏ʹͳΔ