Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with Multiselect Attribute Type for Person Entity #1597

Open
fitulka opened this issue Sep 11, 2024 · 1 comment
Open

Issues with Multiselect Attribute Type for Person Entity #1597

fitulka opened this issue Sep 11, 2024 · 1 comment
Assignees

Comments

@fitulka
Copy link

fitulka commented Sep 11, 2024

Description:

When creating a new Attribute with the Type 'Multiselect' for the Entity Type 'Person', the following issues occur:

  1. Selected options cannot be saved when editing a Person.
  2. Viewing the Person record results in an error:

Undefined variable $data (View: /var/www/htdocs/example.com/crm/packages/Webkul/Admin/src/Resources/views/components/form/control-group/controls/inline/multiselect.blade.php)

Steps to Reproduce:

  1. Create a new Attribute of type 'Multiselect' for the Person entity.
  2. Try saving the selected options while editing a Person.
  3. Attempt to view the Person record.

Expected Behavior:

The selected options should be saved correctly, and the Person record should be viewable without errors.

Actual Behavior:

The selected options are not saved, and an "Undefined variable $data" error is shown when viewing the Person record.

Additional Information:

Error message stack trace:

View: /var/www/htdocs/example.com/crm/packages/Webkul/Admin/src/Resources/views/components/form/control-group/controls/inline/multiselect.blade.php

Environment:

Krayin CRM v2.0.1
PHP 8.2.x

@suraj-webkul suraj-webkul self-assigned this Sep 12, 2024
suraj-webkul added a commit to suraj-webkul/laravel-crm that referenced this issue Sep 12, 2024
suraj-webkul added a commit to suraj-webkul/laravel-crm that referenced this issue Sep 12, 2024
@ashishkumar-webkul
Copy link
Collaborator

Checked and Found that now no exceptional error is appear.

Video

No.Exception.mp4

But still one issue is appearing related to UI

-> https://prnt.sc/R0uJh3GIpBpe

suraj-webkul added a commit to suraj-webkul/laravel-crm that referenced this issue Sep 13, 2024
devansh-webkul added a commit that referenced this issue Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants