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:47
@backportbot backportbot bot added 3. to review Waiting for reviews feature: sharing labels Apr 24, 2025
@backportbot backportbot bot added this to the Nextcloud 31.0.5 milestone Apr 24, 2025
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>
@nfebe nfebe force-pushed the backport/52364/stable31 branch from b365fc5 to 1d52c09 Compare April 24, 2025 11:04
@nfebe
Copy link
Contributor

nfebe commented Apr 24, 2025

/compile

@nfebe nfebe marked this pull request as ready for review April 24, 2025 11:18
@nfebe nfebe enabled auto-merge April 24, 2025 11:18
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@nfebe nfebe merged commit 989f24f into stable31 Apr 24, 2025
137 of 141 checks passed
@nfebe nfebe deleted the backport/52364/stable31 branch April 24, 2025 19:39
@blizzz blizzz mentioned this pull request May 5, 2025
10 tasks
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.

4 participants