Skip to content

Commit

Permalink
Merge pull request #4387 from open-formulieren/issue/4362-prevent-crash
Browse files Browse the repository at this point in the history
Prevent crash due to array-value for textfield|textarea defaultValue when multiple is true
  • Loading branch information
sergei-maertens authored Jun 14, 2024
2 parents 5211292 + 2a17f8c commit a001b5b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/openforms/js/components/formio_builder/translation.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ const ALWAYS_TRANSLATABLE_PROPERTIES = ['label', 'description', 'placeholder', '
* test the property path against.
*/
const ADDITIONAL_PROPERTIES_BY_COMPONENT_TYPE = {
textfield: ['defaultValue'],
textarea: ['defaultValue'],
content: ['html'],
fieldset: ['legend'],
editgrid: ['groupLabel'],
Expand Down

0 comments on commit a001b5b

Please sign in to comment.