Skip to main content
Solved

Domain - combo empty item

  • March 2, 2026
  • 5 replies
  • 41 views

Forum|alt.badge.img+4

Hallo,

 

I created a domain varchar for time hours only, since using Time shows minutes and seconds as well. 
Then I added elements from 00:00 - 23:00, but the dropdown has empty item.

Is there a way to remove the first empty item?

 

 

 

I'm not sure if this is the best way, but if there's a way to use Time data type but only show hours is maybe better.

 

Thank you

Jheng

Best answer by Jheng

Hallo,

 

The empty item is resolved now, I just need to full deploy, because in the beginning even after I put mandatory in task it doesn't work.

 

But it would be great if it is possible that the minutes is disabled and defaulted to 00?

 

Thank you

Jheneffer

 

 

5 replies

Hi ​@Jheng,

For time type data we recommend using a domain with a time-like datatype. Such a domain can be configured with the control “Time short”, which only displays hours and minutes.

It is not recommended to use varchar datatypes for this as this allows for the creation of options that are not a valid time where a time is expected.


Forum|alt.badge.img+4
  • Author
  • Captain
  • March 2, 2026

Hallo ​@DavyvanderSchoot ,

 

I also try to use Time and control Time short but as you mention also it shows minutes, I only need to display hours as an option without a minute or minute to be always 00,  it's an input that only required in hours. Is there a way to show only hours? when minutes is 00 

 

That's why I use varchar instead to avoid minutes, it display only hours 07:00 as an example. but during dropdown there's an empty item, that is what I wanted to remove.

 

Thank you

Jheng


Forum|alt.badge.img+4
  • Author
  • Captain
  • March 2, 2026

Hallo,

 

Is it possible that the minutes is disabled and defaulted to 00?

 

 

 

Thanks

Jheneffer


Forum|alt.badge.img+4
  • Author
  • Captain
  • Answer
  • March 3, 2026

Hallo,

 

The empty item is resolved now, I just need to full deploy, because in the beginning even after I put mandatory in task it doesn't work.

 

But it would be great if it is possible that the minutes is disabled and defaulted to 00?

 

Thank you

Jheneffer

 

 


Hi ​@Jheng,
Currently, when using a time domain, such a thing is currently not possible. However this idea
Timepicker, minute dial in controlable steps 

seems to be quite similar to what you describe. I recommend upvoting this idea and adding your suggestions to the discussion.