alongubkin / alongubkin/angular-datepicker

Readonly setting prevents :valid pseudo selector from working

オープン
#42 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
290
フォーク
126
PR マージ指標
30日以内にマージされた PR はありません

説明

I'm using :focus and :valid pseudo selectors in my css to move my input placeholders from within the input field up above the respective field as a label.

The angular-datepicker sets the field as readonly which prevents the :valid pseudo selector from working as expected. I was able to remove the code setting the input as readonly and confirm that my placeholder/labels worked as expected.

I was wondering if you could suggest another workaround (maybe a preventDefault()?) to prevent the keyboard from popping up though. Any help would be appreciated.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。