Skip to content

Remove isPressEnterToChange from TimePicker#68170

Open
prasadkarmalkar wants to merge 2 commits intoWordPress:trunkfrom
prasadkarmalkar:update/time-picker-component
Open

Remove isPressEnterToChange from TimePicker#68170
prasadkarmalkar wants to merge 2 commits intoWordPress:trunkfrom
prasadkarmalkar:update/time-picker-component

Conversation

@prasadkarmalkar
Copy link
Copy Markdown
Contributor

@prasadkarmalkar prasadkarmalkar commented Dec 20, 2024

What?

This PR removes the isPressEnterToChange from Day and Year component of TimePicker

Why?

As in the #68148 issue the datetime is only getting updated when we change via navigation buttons or by clicking outside of the input of day and year.

How?

By removing isPressEnterToChange property from DayInput and YearInput component.

Screenshots or screencast

Screen.Recording.2024-12-20.at.1.09.38.PM.mov

Issue URL - #68148

@github-actions
Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: prasadkarmalkar <prasadkarmalkar@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@Mamaduka Mamaduka added [Package] Components /packages/components [Type] Bug An existing feature does not function as intended [Feature] DataViews Work surrounding upgrading and evolving views in the site editor and beyond labels Jan 13, 2025
@ntsekouras ntsekouras added [Package] Editor /packages/editor [Package] Block editor /packages/block-editor and removed [Package] Editor /packages/editor [Package] Block editor /packages/block-editor labels Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] DataViews Work surrounding upgrading and evolving views in the site editor and beyond [Package] Components /packages/components [Type] Bug An existing feature does not function as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants