Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Apr 24, 2025

Backport of #52364

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@backportbot backportbot bot requested review from miaulalala, nfebe and susnux April 24, 2025 10:46
@backportbot backportbot bot added 3. to review Waiting for reviews feature: sharing labels Apr 24, 2025
@backportbot backportbot bot added this to the Nextcloud 30.0.11 milestone Apr 24, 2025
@miaulalala
Copy link
Contributor

/compile amend /

If the time picker component is emitting a Date object already, then there is redundant call of `new Date(new Date())` and

therefore introduces subtle bugs, for example on chrome users could not  enter expiration date with keyboard.

- Use @update:model-value instead of @change/@input for more reliable date updates

- Ensure null and invalid dates are handled correctly in onExpirationChange

- Validate date input before updating defaultExpirationDateEnabled

Resolves : #51875

Signed-off-by: nfebe <fenn25.fn@gmail.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@nextcloud-command nextcloud-command force-pushed the backport/52364/stable30 branch from 536b81a to 3bed83b Compare April 24, 2025 15:24
@AndyScherzinger AndyScherzinger marked this pull request as ready for review April 24, 2025 18:17
@nfebe nfebe enabled auto-merge April 24, 2025 18:50
@nfebe nfebe merged commit 39e0056 into stable30 Apr 24, 2025
121 checks passed
@nfebe nfebe deleted the backport/52364/stable30 branch April 24, 2025 19:38
@blizzz blizzz mentioned this pull request May 5, 2025
10 tasks
@nextcloud-bot nextcloud-bot mentioned this pull request Sep 25, 2025
2 tasks
@blizzz blizzz mentioned this pull request Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants