Skip to content

Commit

Permalink
update release
Browse files Browse the repository at this point in the history
  • Loading branch information
iruzevic committed Oct 28, 2024
1 parent 6c7548f commit 145865e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a CHANGELOG](https://keepachangelog.com/).

## [5.1.6]

### Fixed

- TalentLyft integration not displaying label for radios and checkboxes.

## [5.1.5]

### Fixed
Expand Down Expand Up @@ -710,6 +716,7 @@ This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a

- Initial production release.

[5.1.6]: https://github.com/infinum/eightshift-forms/compare/5.1.5...5.1.6
[5.1.5]: https://github.com/infinum/eightshift-forms/compare/5.1.4...5.1.5
[5.1.4]: https://github.com/infinum/eightshift-forms/compare/5.1.3...5.1.4
[5.1.3]: https://github.com/infinum/eightshift-forms/compare/5.1.2...5.1.3
Expand Down
2 changes: 1 addition & 1 deletion eightshift-forms.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Description: Eightshift Forms is a complete form builder plugin that utilizes modern Block editor features with multiple third-party integrations, bringing your project to a new level.
* Author: WordPress team @Infinum
* Author URI: https://eightshift.com/
* Version: 5.1.5
* Version: 5.1.6
* Text Domain: eightshift-forms
*
* @package EightshiftForms
Expand Down
6 changes: 4 additions & 2 deletions src/Integrations/Talentlyft/Talentlyft.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ private function getFields(array $data, string $formId): array

$output = [];

dump($data['fields']);

foreach ($data['fields'] as $item) {
if (!$item) {
continue;
Expand Down Expand Up @@ -302,8 +304,8 @@ function ($selectOption) {
case 'checkbox':
$output[] = [
'component' => 'checkboxes',
'checkboxesFieldHideLabel' => true,
'checkboxesName' => $name,
'checkboxesFieldLabel' => $label,
'checkboxesIsRequired' => $required,
'checkboxesTypeCustom' => $internalType,
'checkboxesContent' => \array_map(
Expand All @@ -330,8 +332,8 @@ function ($checkbox) use ($tracking) {
case 'yesNo':
$output[] = [
'component' => 'radios',
'radiosFieldHideLabel' => true,
'radiosName' => $name,
'radiosFieldLabel' => $label,
'radiosIsRequired' => $required,
'radiosTypeCustom' => $internalType,
'radiosContent' => \array_map(
Expand Down

0 comments on commit 145865e

Please sign in to comment.