I have used timeInput in a big project (not convenient to troubleshoot) as below:
timeInput("test1", "Test Label", value = strptime("18:00", "%H:%M"))
The fluidPage shows it as:
I wonder if anyone knows what's the problem or simple workaround.
I have run the shinyTimeExample and make my own simple example. Both work without a problem. I have the latest ShinyTime package version 1.0.3.
EDIT: I inspected both the project element and the other working element as suggested by GriffoGoes (thanks). There seems to be no difference or any CSS applied. Elements below:
Project:
<div class="input-group">
<input type="number" min="0" max="23" step="1" value="18" style="width: 8ch" class="form-control shinytime-hours">
<input type="number" min="0" max="59" value="00" style="width: 8ch" class="form-control shinytime-mins">
</div>
Working example:
<div class="input-group">
<input type="number" min="0" max="23" step="1" value="22" style="width: 8ch" class="form-control shinytime-hours">
<input type="number" min="0" max="59" value="39" style="width: 8ch" class="form-control shinytime-mins">
</div>
Also the problem is the same on a browser (Chrome) and on RStudio.
