Questions tagged [multiselect]
The multiselect tag has no usage guidance.
55 questions
0
votes
0
answers
19
views
Create mutiple Configurations form and grid
I want to create form with the multiple select data in the multiple tabs and also create grid.
The screenshot of the from and grid is attached with the message:
0
votes
1
answer
39
views
Edit Data for Store View UI component is not displaying with selected value
I have created a custom module and have used UI component to display store view field in Form page.
I am facing this issue only in Production Mode.
When I open the Edit form page the Store View UI ...
1
vote
1
answer
30
views
Getting the right format for saving multiselect customer attribute issue?
This is my code:
$values = ['value1','value2','value3'];
$customer->setCustomAttribute('customer_attribute_code', $values);
//\Magento\Customer\Api\...
0
votes
2
answers
932
views
load region by country multi select in ui component magento 2
In the Ui-component of Magento 2, I see that we can do this to load region by country.
<fieldset name="delivery_area" sortOrder="90">
<argument name="data&...
1
vote
2
answers
2k
views
How to selected option in multiselect UI Component in Magento2
I need to select one or more option before rendering this page. I tried several ways but unable to find an exact way to solve my issue.
I need to select Tea and Other Tea Option before loading.
Form....
1
vote
0
answers
54
views
Multiselect Attribute created through module can't be set programatically
I am on a Magento 2.1 installation using a Venus Theme Module called Brands 2.0.
The module creates a product_brand multi select attribute with the following code:
$eavSetup = $this->...
0
votes
0
answers
390
views
How to Display and change values of 2nd multi-select dropdown by selecting 1st drop-down?
I want to show multi-select drop-down with check-boxes(like categories on product edit page in admin panel) which values are depends on 1st drop-down(which is single select) in my custom Ui component ...
0
votes
1
answer
1k
views
How to set multiselect value in jquery
I've follow this solution to make multiselect works without using "Ctrl" in keyboard.
http://jsfiddle.net/xQqbR/1022/
And here's the result:
Its work great, but i can't save in database.
...
2
votes
3
answers
1k
views
How to save multiselect values programmtically in magento 2?
I am unable to save product multiselect values .I tried both ways
Here is code
Way 1
$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
$_product = $objectManager->create('...
2
votes
1
answer
1k
views
magento 2 in category multi select attribute in option is not show?
:InstallData
<?php
namespace Vender\Extension\Setup;
use Magento\Eav\Setup\EavSetup;
use Magento\Eav\Setup\EavSetupFactory;
use Magento\Framework\Setup\InstallDataInterface;
use Magento\Framework\...
1
vote
0
answers
58
views
Magento 2 - How to auto checked a multiselect ui-component?
I have a ui-component
<field name="interest" formElement="multiselect">
<argument name="data" xsi:type="array">
&...
2
votes
0
answers
198
views
magento 2 keep the applied filters in opened state
I wish to make changes in the layered navigation filter, so that all the applied filters are visible(opened state).
For example I am selecting red in color filter, all other options in color filter ...
0
votes
0
answers
274
views
Magento 2: How to add multiselect dropdown field on my Home Page
I'm new in Magento 2 and I have created a custom module. Now I want to add multi-select dropdown field in my module's front template on my home page.
How to add a multi-select dropdown, please?
2
votes
2
answers
613
views
Magento 1 : Change multiselect product attribute to mutliple checkbox attribute
I need to change the multi-select attributes in the admin product edit form to multiple checkbox attributes. Is this possible?
0
votes
1
answer
3k
views
How to add a multi select category and attribute filter on catalog page
My magento 2.3.3 theme provides me single select from same category or attribute.
Here if i select a sub category all the other categories will get disappears because it is single select.
But i want ...
1
vote
1
answer
1k
views
How to create a custom admin form with multiselect type in magento 2?
I created a custom module with a multiselect type input.
My InstallSchema.php file contains this for this field.
->addColumn(
'elegible_products',
\Magento\Framework\DB\Ddl\Table::...
0
votes
0
answers
131
views
Magento 2 multi-select field in block not displaying values in magento admin panel
I have created custom form in which I want a multi select field and display dynamic data. I have created a collection object in the form of array and passing it as a value for my multi select field.
...
0
votes
3
answers
2k
views
Admin Grid "Select All" for mass action only sends the visible IDs
I'm having some trouble getting "Select All" working properly for a custom grid.
I have a massDelete action working and deleting multiple items. I have a multiselect column which, after I run a "...
2
votes
0
answers
36
views
Dynamically hide mutiselect for different actions
In Magento 2, I have 2 actions in my controller: newAction() and edit().
Both actions will use for a same form with few inputs. Among them is multiselect for store selection. I want to show it when I ...
0
votes
1
answer
160
views
Help please with correct saving multiselect field for Store view edit form
Please help with correct saving adding custom field for Store View edit form.
Default Magento Store view edit form:
Stores->All Stores->Any Store
https://screencast.com/t/WPA3owq3
https://...
0
votes
2
answers
961
views
How to set and get values in multiselect in admin form. Magento 1.9
I want to create one multi-selector on the form to select multiple categories.
I have created a field set for that but how can I display values into that to select multiple categories.
this is my ...
4
votes
1
answer
3k
views
Magento 2 - Admin form Multi Select field issue
I added this code for Multi Select in my form.
File Path Should be like: app\code\Vendor\Module\Block\Adminhtml\Mpages\Edit\Tab\Main.php
$fieldset->addField(
'categories',
...
0
votes
2
answers
3k
views
magento 2.2 trying to save multi select value in database
I am trying to save multi select value in DB. But getting error Array to string conversion in
/var/www/html/devstore/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php
on line 2999
Template file ...
0
votes
1
answer
1k
views
Magento 2 ui multi-select preselected values
I am new at Magento 2,
UI multi-select component render store views group by websites and stores,
but when I am editing I need saved values of store views of certain record to be preselected in that ...
0
votes
1
answer
1k
views
Magento 2.3 UI MULTISELECT
I am having problems with dynamic display store views which are grouped by their website and having selected values if I am editing existing data.
What I achieved, displaying store views, and saving ...
1
vote
2
answers
5k
views
Magento 2.2.5: How to set checkbox checked with Grid addColumn()
I have an issue here with the checkbox checked.
I've read a lot of solution, but they always say add the 'values' => array('something')
I've followed that solution but nothing change. I've deploy ...
4
votes
1
answer
2k
views
Magento 2.2.5: explain about how the multi select "available_sort_by" get data
I'm looking for an explanation about how the multi-select "available_sort_by" get data.
Like you can see in the image below, they are using UI component to render this multi-select. And I don't ...
0
votes
1
answer
438
views
How to unselect a multiselect field in my custom modul edit page?
I have added a multiselect field to a fieldset in my form.xml.
<column name="ghs_pictogram_id">
<argument name="data" xsi:type="array">
<item name="options" ...
0
votes
0
answers
383
views
Select All Rows after applying filter to Magento2 Extended Grid
I am working on Magento 2.2.0. I have an extended grid in my custom module. When I apply the filter to the grid and choose "Select All" from the drop-down, it is not working. All the row ids are ...
2
votes
1
answer
2k
views
Magento2 : How disable some specific values in Multi-select UI component
I am setting some values in multi-select to be disabled based on some condition
This is how I am declaring my UI component
<field name="category_option">
<argument name="data" ...
0
votes
1
answer
352
views
Magmi skips multiple select attributes
I was using Magmi for the past two years. I just processed the Magento update from 1.9.1 to 1.9.3.
Since I did the update, Magmi ignores the multiple select columns and the invalid columns (i.e. the ...
0
votes
1
answer
429
views
Save value of multiselect admin magento 1.9
I create a custom block, for create slider in front-end.
This work perfectly in admin and save in database.
Now I just add, a groupe_id instance of groupe_customer.
so lock my form :
$fieldset-...
1
vote
2
answers
2k
views
Magento 1.9 custom multiselect field renderer - how to?
In my customization I need a multiselect field in form so I added new field and created a renderer hoping it will work and I've done it this way:
... form.php
$fieldset->addField('test', '...
1
vote
1
answer
240
views
Magento 2.2.2 Admin Form Multiselect Box Issue
My Admin Ui Component Form was working fine , but all of a sudden , the Multiselect box went out of proportion from the rest of the field . Does anybody faced the same issue or anyone know how to fix ...
1
vote
0
answers
61
views
multi-select image switcher for product configuration. how to do?
Tell me how to implement the next task. I have a set product. First, choose the color of the base, then the color of the product edges, and then you need to make it so that the client could choose ...
7
votes
3
answers
11k
views
Magento2 ui component multiselect selected options on edit
I'm trying to show the selected options in a multiselect in a custom admin module form.
The data for the multi select field is saved in the database.
What i have as field:
<field name="...
0
votes
0
answers
67
views
How To Give Product Details Print By Admin > Catalog - > Managed Products
From admin managed products, what are all the products i selected (Using checkbox) i need those products get a printout, printout like products image, name, description?
Is Possible?
2
votes
1
answer
981
views
Magento 2.1.7 add CMS page multiselect to CMS page
I'm new to Magento 2 and I'm trying to add a multiselect of all (for now) CMS pages to the CMS pages in Magento 2. What I mean by this is that when creating/editing a CMS page, there should be an ...
0
votes
1
answer
39
views
How to set Page wise Restriction in magento 2?
I am making one extension which displays header notification at top of page,
I am make one multi select field in system.xml in which user select pages in which he/she want to display Notification. For ...
1
vote
1
answer
766
views
Multi select options for Magento2 custom Attribute [closed]
I have created one custom attribute for Category with Multi select option.I am trying to get dynamic values from source file but first value only printing in multi select please give solution and ...
3
votes
5
answers
11k
views
Magento 2 - Need a multi-select filter in place of dropdown in admin grid
I have added a new category filter to product grid following a nice tutorial is given here - https://chillydraji.wordpress.com/2016/11/29/add-category-filter-to-product-grid-in-magento2/
Now I want ...
0
votes
1
answer
393
views
Check if Multiselect attribute value is
I have a multi select attribute with some values. I get the values with this code:
<?php $targetValue = explode(",", $_product->getResource()->getAttribute('nf_allergie')->getFrontend()-&...
1
vote
1
answer
2k
views
Magento2 : How to retrieve Values from keys in System multiselect field
I have implemented a system configuration multiselect field (system.xml).
<field id="foolist" translate="label" type="multiselect" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore=...
4
votes
1
answer
2k
views
Magento 2 How to assign custom multiselect attribute values to product?
$_product->setData($attributeCode, $attributeValue);
I can assign "normal" attributes to product like that and those attributes are visible on product page and admin panel. If I want to assign ...
1
vote
0
answers
116
views
select entities multiselect attribute which stored as comma separated ints in varchar table
Some product attribute is multiselect and stored as:
954,955,956,957,958,959 in database
How to select products with 954 option id ?
like seems to be not accurate, string should be spitted by comma,...
3
votes
3
answers
8k
views
Magento 2 - add Multiselect Store Views in admin Form
I am developing a custom module in Magento 2.
I would like to add to the editing form a multiselect to allow users to select the store view. In Magento 1.9 it is done in this way:
$fieldset->...
0
votes
3
answers
100
views
Imported products show up in backend but not on front end
I was able to import products without issue and they would show up fine on the front end. I was in single user mode. I have one store. I have the column product_websites set to base. Nothing has ...
1
vote
2
answers
1k
views
Magento2 : multi select box is not showing option with custom source
Working on custom extension, I have implemented multi select option using custom source. It don't show the option in multi select box. Anybody knows the reason?
Check screenshot,
$eavSetup->...
5
votes
4
answers
14k
views
Magento 2 - Category list for custom magento system configuration section
My problem to get all available categories and display them in a system config multi-select field list.
Here is a link for Magento 1.x. How can it be achieved for Magento 2.x?
1
vote
2
answers
249
views
Customizing interface of multiselect in magento
My multi select list is very large, it is difficult to find out which options are selected, I want to change it into some thing like following, is it possible?
It can be any where, but currently I ...