-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Form Framework: Number - step option bug #19
Comments
Which TYPO3 version do you use? |
typo3 10.4.19 |
@madalinatarcea: Could you please check if the error still exists in version 2.0.12 of this extension? If yes, please give me more details, f.e. the yaml file of your form definition, so that I can reproduce the error. |
@galoppi unfortunatly the error still exisits in version 2.0.12, i am a coworker of @madalinatarcea and working on a project with the same bug. In the Yaml File the step option creates the bug as @madalinatarcea said. Here an example: -
defaultValue: ''
properties:
fluidAdditionalAttributes:
step: 1
type: Number
identifier: number-1
label: Number
validators:
-
identifier: Number
- Here an example form that triggers the bug:
|
[BUGFIX] fixing bug sitegeist#19 TypeError by adding step option
If we set the step option we got this error: bcs the value from step is int
Could you pls fix that?
maybe adding on line: 142 -> Classes/ViewHelpers/TranslateElementPropertyViewHelper.php
if (is_string($value)) {
$ret[$key] = self::renderTranslation(
$translationKey . '.' . $key,
$value,
$translationArguments
);
}
The text was updated successfully, but these errors were encountered: