NativeScript / NativeScript/plugins
[@nativescript/datetimepicker] DateTimePicker resets date if set first after setting time
オープン
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 206
- フォーク
- 123
- 平均マージ
- 2日 1時間
- マージ済み PR(30日)
- 1
説明
I'm using the DateTimePicker component in my application and found a potential bug.
- Setting time field first, it auto sets the date field on the current date. Updating the date field works.
- Setting date field first, it sets the date field and leaves time blank. Setting the time field now, RESETS date field to current day.
There is a property called autoPickTime which defaults to false. I guess thats the reason why setting date does not set the time.
It would be nice to have similar property autoPickDate to prevent overwritting the date or at least check for a set date.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
@nativescript/datetimepicker コンポーネントから始め、issue で説明されている両方のフィールド設定シーケンスを再現します。既存の autoPickTime の動作を確認し、時刻より前に日付を設定しても、選択した日付が現在の日付に置き換えられなくなっていることを検証します。この動作は適切な回帰テストでカバーする必要があります。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, typescript
- 領域
- mobile
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100