Skip to content

Commit

Permalink
set default selected values
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio committed Oct 25, 2024
1 parent 6035e29 commit dd6b689
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions php/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,11 @@
$apiOptions = new ApiOptions();
$apiOptions->acceptHeaderInput->hide();
Input::setGlobalWrapper('td');
$apiOptions->localeInput->labelAfter('<br>');
$apiOptions->epiphanyInput->labelAfter('<br>');
$apiOptions->ascensionInput->labelAfter('<br>');
$apiOptions->corpusChristiInput->labelAfter('<br>');
$apiOptions->eternalHighPriestInput->labelAfter('<br>');
$apiOptions->localeInput->labelAfter('<br>')->selectedValue($litSettings->Locale);
$apiOptions->epiphanyInput->labelAfter('<br>')->selectedValue($litSettings->Epiphany);
$apiOptions->ascensionInput->labelAfter('<br>')->selectedValue($litSettings->Ascension);
$apiOptions->corpusChristiInput->labelAfter('<br>')->selectedValue($litSettings->CorpusChristi);
$apiOptions->eternalHighPriestInput->labelAfter('<br>')->selectedValue($litSettings->EternalHighPriest);
if ($litSettings->NationalCalendar !== null || $litSettings->DiocesanCalendar !== null) {
$apiOptions->epiphanyInput->disabled();
$apiOptions->ascensionInput->disabled();
Expand Down

0 comments on commit dd6b689

Please sign in to comment.