Fix passing data to the SelectContactCard component.
This commit is contained in:
@ -40,8 +40,8 @@
|
||||
contact-type="{{ $contactType }}"
|
||||
:contact="$contact"
|
||||
:contacts="$contacts"
|
||||
:search_route="$contactSearchRoute"
|
||||
:create_route="$contactCreateRoute"
|
||||
:search-route="$contactSearchRoute"
|
||||
:create-route="$contactCreateRoute"
|
||||
hide-issued-at="{{ $hideIssuedAt }}"
|
||||
text-issued-at="{{ $textIssuedAt }}"
|
||||
issued-at="{{ $issuedAt }}"
|
||||
|
@ -11,8 +11,8 @@
|
||||
contact-type="{{ $contactType }}"
|
||||
:contact="$contact"
|
||||
:contacts="$contacts"
|
||||
:search_route="$contactSearchRoute"
|
||||
:create_route="$contactCreateRoute"
|
||||
:search-route="$contactSearchRoute"
|
||||
:create-route="$contactCreateRoute"
|
||||
hide-issued-at="{{ $hideIssuedAt }}"
|
||||
text-issued-at="{{ $textIssuedAt }}"
|
||||
issued-at="{{ $issuedAt }}"
|
||||
|
@ -6,8 +6,8 @@
|
||||
type="{{ $contactType }}"
|
||||
:contact="$contact"
|
||||
:contacts="$contacts"
|
||||
:search_route="$contactSearchRoute"
|
||||
:create_route="$contactCreateRoute"
|
||||
:search-route="$contactSearchRoute"
|
||||
:create-route="$contactCreateRoute"
|
||||
error="form.errors.get('contact_name')"
|
||||
:text-add-contact="$textAddContact"
|
||||
:text-create-new-contact="$textCreateNewContact"
|
||||
|
@ -2,8 +2,8 @@
|
||||
placeholder="{{ $placeholder }}"
|
||||
no-data-text="{{ trans('general.no_data') }}"
|
||||
no-matching-data-text="{{ trans('general.no_matching_data') }}"
|
||||
search-route="{{ $search_route }}"
|
||||
create-route="{{ $create_route }}"
|
||||
search-route="{{ $searchRoute }}"
|
||||
create-route="{{ $createRoute }}"
|
||||
:contacts="{{ json_encode($contacts) }}"
|
||||
:selected="{{ json_encode($contact) }}"
|
||||
add-contact-text="{{ is_array($textAddContact) ? trans($textAddContact[0], ['field' => trans_choice($textAddContact[1], 1)]) : trans($textAddContact) }}"
|
||||
|
Reference in New Issue
Block a user