Skip to content

Commit

Permalink
Added disabled to translatorAlias
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszdebinski committed Mar 29, 2024
1 parent 8dd1b2b commit 134c29a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bundle/Form/Extension/TranslationAddType.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
'value' => $client->getServiceAlias(),
'data' => true,
'required' => false,
'disabled' => true,
]
);
$builder->addModelTransformer(new TranslationAddDataTransformer());
Expand Down Expand Up @@ -92,6 +93,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void

return '';
},
'disabled' => true,
]
);
$builder->addModelTransformer(new TranslationAddDataTransformer());
Expand Down

0 comments on commit 134c29a

Please sign in to comment.