Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DateTimePicker mapped using @Id from a LitTemplate does not apply "step" #841

Open
Artur- opened this issue Apr 26, 2021 · 3 comments
Open

Comments

@Artur-
Copy link
Member

Artur- commented Apr 26, 2021

Minimal reproducible example

<vaadin-date-time-picker id="tstamp" step="1"></vaadin-date-time-picker>
public class MyView extends LitTemplate  {

    @Id
    private DateTimePicker tstamp;

Expected behavior

  1. The date time picker should be rendered showing the seconds and not only hours:minutes
  2. tstamp.getStep() should return a Duration of 1

Actual behavior

  1. The date time picker is rendered as hours:minutes
  2. The Java API uses the internal TimePicker for some reason and will return the default value

Versions:

- Vaadin / Flow version: 19.0.6
@miguelatvaadin
Copy link
Contributor

Hi @Artur- ,

should this issue be reported to the flow-components monorepo?

Thanks

@miguelatvaadin miguelatvaadin transferred this issue from vaadin/flow Apr 26, 2021
@vursen
Copy link
Contributor

vursen commented Apr 25, 2024

I can confirm that the issue is still reproducible in latest 24.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants