mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-01-14 05:11:23 +00:00
Fix the condition for button text display input_address_module
This commit is contained in:
@@ -183,8 +183,8 @@ export default {
|
||||
) {
|
||||
// console.log('this.options.button.text', this.options.button.text)
|
||||
return this.context.edit
|
||||
? ACTIVITY_CREATE_ADDRESS
|
||||
: ACTIVITY_EDIT_ADDRESS;
|
||||
? ACTIVITY_EDIT_ADDRESS
|
||||
: ACTIVITY_CREATE_ADDRESS;
|
||||
}
|
||||
console.log("defaultz", this.defaultz);
|
||||
return this.context.edit
|
||||
|
||||
@@ -80,7 +80,7 @@ final class CreationPersonType extends AbstractType
|
||||
->add('address', PickAddressType::class, [
|
||||
'required' => false,
|
||||
'mapped' => false,
|
||||
'label' => false,
|
||||
'label' => 'Address',
|
||||
]);
|
||||
|
||||
if ($this->askCenters) {
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
{% endif %}
|
||||
|
||||
<div id=address>
|
||||
{{ form_row(form.address, {'label' : 'Address'|trans }) }}
|
||||
{{ form_row(form.address) }}
|
||||
</div>
|
||||
|
||||
<ul class="record_actions sticky-form-buttons">
|
||||
|
||||
Reference in New Issue
Block a user