Last active
November 13, 2019 07:37
-
-
Save samuelmale/6c9ad93c6f9b8c05e84b6f3c36da86f3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Introduce a class that will keep the input field and calender icon of the datetimepicker widget inline. --> | |
<style> | |
.datetimepicker { | |
/* Ideally the calendar icon will consume the rest of the 20% of the datetimepicker widget */ | |
width: 80%; | |
} | |
</style> | |
<!-- Include the fragment with this class --> | |
<obsFromFragment | |
fragment="field/datetimepicker" | |
provider="uicommons" | |
conceptId="ICRC:1990665" | |
initFragmentParamName="defaultDate" | |
fragmentParams="classes=form-control%20datetimepicker&formFieldName=consultation_date&label=&useTime=false&endDate=$formGeneratedDatetime" /> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment