Skip to content

Commit bb1db52

Browse files
authored
fix(angular): add formatOptions property to standalone datetime (#29468)
Issue number: resolves #29464 --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the current behavior? <!-- Please describe the current behavior that you are modifying. --> The standalone component for `ion-datetime` is missing the `formatOptions` property. This component wrapper is manually maintained and was missed when developing the feature. ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> - Adds the missing `formatOptions` property to the `ion-datetime` for the angular standalone component ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change: 1. Describe the impact and migration path for existing applications below. 2. Update the BREAKING.md file with the breaking change. 3. Add "BREAKING CHANGE: [...]" to the commit description when merging. See https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#footer for more information. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. -->
1 parent 7ea14ae commit bb1db52

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/angular/standalone/src/directives/datetime.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const DATETIME_INPUTS = [
2424
'disabled',
2525
'doneText',
2626
'firstDayOfWeek',
27+
'formatOptions',
2728
'highlightedDates',
2829
'hourCycle',
2930
'hourValues',

0 commit comments

Comments
 (0)