Skip to content

Commit 79077bd

Browse files
committed
fixing array params and files
1 parent d7a4b71 commit 79077bd

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44

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

7+
## [3.1.1]
8+
9+
### Added
10+
11+
- added `FD_FIELD_NAMES_FULL` constants.
12+
713
## [3.1.0]
814

915
### Removed
@@ -330,6 +336,7 @@ This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a
330336

331337
- Initial production release.
332338

339+
[3.1.1]: https://github.com/infinum/eightshift-forms-utils/compare/3.1.0...3.1.1
333340
[3.1.0]: https://github.com/infinum/eightshift-forms-utils/compare/3.0.18...3.1.0
334341
[3.0.18]: https://github.com/infinum/eightshift-forms-utils/compare/3.0.17...3.0.18
335342
[3.0.17]: https://github.com/infinum/eightshift-forms-utils/compare/3.0.16...3.0.17

src/Config/UtilsConfig.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,7 @@ class UtilsConfig
501501
public const FD_ICON = 'icon';
502502
public const FD_FIELDS = 'fields';
503503
public const FD_FIELD_NAMES = 'fieldNames';
504+
public const FD_FIELD_NAMES_FULL = 'fieldNamesFull';
504505
public const FD_STEPS_SETUP = 'stepsSetup';
505506
public const FD_RESPONSE_OUTPUT_DATA = 'responseOutputData';
506507
public const FD_PARAMS_ORIGINAL = 'paramsOriginal';

src/Helpers/UtilsGeneralHelper.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ public static function getFormDetails(string $formId): array
307307
UtilsConfig::FD_FIELDS => [],
308308
UtilsConfig::FD_FIELDS_ONLY => [],
309309
UtilsConfig::FD_FIELD_NAMES => [],
310+
UtilsConfig::FD_FIELD_NAMES_FULL => [],
310311
UtilsConfig::FD_STEPS_SETUP => [],
311312
];
312313

@@ -391,6 +392,8 @@ public static function getFormDetails(string $formId): array
391392
continue;
392393
}
393394

395+
$output[UtilsConfig::FD_FIELD_NAMES_FULL][] = $value;
396+
394397
if (isset($ignoreBlocks[$blockItemName])) {
395398
continue;
396399
}

0 commit comments

Comments
 (0)