Skip to content

Commit

Permalink
IBX-6559: Fixed ezmatrix field form inconsistencies in Content Type…
Browse files Browse the repository at this point in the history
… form (#36)

* IBX-6559: Fixed `ezmatrix` field form inconsistencies in Content Type form

* IBX-6559: Rollback

* IBX-6559: Rollback again

* IBX-6559: Rollback
  • Loading branch information
barw4 authored Dec 6, 2023
1 parent e5208ff commit c96904f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions src/bundle/Resources/translations/matrix_fieldtype.en.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@
<target state="new">Columns</target>
<note>key: field.columns</note>
</trans-unit>
<trans-unit id="207b1ea4ef32f10b29a4cff6869126da1f4b980a" resname="field_definition.ezmatrix.columns">
<source>Columns</source>
<target state="new">Columns</target>
<note>key: field_definition.ezmatrix.columns</note>
</trans-unit>
<trans-unit id="07c51cf854c53ebcc11d9261c7ca5b0772d7f7a4" resname="field_definition.ezmatrix.minimum_rows">
<source>Minimum number of rows</source>
<target state="new">Minimum number of rows</target>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/FieldType/Mapper/MatrixFormMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function mapFieldDefinitionForm(FormInterface $fieldDefinitionForm, Field
'prototype_name' => '__number__',
'required' => false,
'property_path' => 'fieldSettings[columns]',
'label' => /** @Desc("Columns") */ 'field_definition.ezmatrix.columns',
'label' => false,
'translation_domain' => 'matrix_fieldtype',
'disabled' => $isTranslation,
]);
Expand Down

0 comments on commit c96904f

Please sign in to comment.