ionic-team / ionic-team/ionic-framework

feat: ion-datetime: default value when opened

オープン
#20,532 コメント 6 件 リアクション 3 件 担当者 0 名 GitHub で見る
package: core type: feature request
主要言語
TypeScript
スター
52.7k
フォーク
13.3k
平均マージ
1日 15時間
マージ済み PR(30日)
51

説明

# Feature Request

**Ionic version:**

[x] **4.x**

**Describe the Feature Request**

when opening the `ion-datetime` component there is no directive available to set a default date _when_ opened. Currently, you can set a `value` but that's not expected. I have a section in a registration that has the birthday selection that is not required (not my decision to make it optional). Anyways, the powers that be don't like how when the datetime component is opened the default date is today. And since it is February and there are not 31 days in the month the powers that be wish that we default the month to January `x` year where they would be 18+.

**Describe Preferred Solution**

``

**Describe Alternatives**

**Related Code**

**Additional Context**

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

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

評価

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

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

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