Environment: Jmix 2.1.3
I want to type second in timePicker field in the detail-view. How to reach to the solution? Thanks
Here’s my expectation input
Environment: Jmix 2.1.3
I want to type second in timePicker field in the detail-view. How to reach to the solution? Thanks
Here’s my expectation input
Are there any solution for this issue?
Hi @anhnct.work
please take a look at the step
definition
https://docs.jmix.io/jmix/flow-ui/vc/components/timePicker.html#_step
If you want to enter seconds in your field you have to set
.setStep(Duration.ofSeconds(1));
You can also set the step
attribute directly in the descriptor xml, it’s not necessary to do this in the view controller. It’s up to you which way you choose.
Please take into account, that if you have seconds you don’t have an overlay dialog for selection.
Regards,
Stefan