Questions tagged [multiselect]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
23 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
2answers
51 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
0answers
30 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
1answer
40 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
2answers
185 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 ...
3
votes
1answer
637 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
2answers
689 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
1answer
316 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
1answer
332 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
2answers
1k 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
1answer
578 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
1answer
217 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
0answers
165 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 ...
0
votes
1answer
240 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
1answer
229 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
1answer
177 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
2answers
768 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
1answer
226 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
0answers
47 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 ...
4
votes
3answers
4k 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
0answers
54 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
1answer
330 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
1answer
30 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
1answer
581 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 ...
2
votes
5answers
4k 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
1answer
151 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
1answer
1k 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=...
2
votes
1answer
1k 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
0answers
89 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
3answers
5k 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
3answers
69 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
2answers
794 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->...
3
votes
4answers
8k 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
2answers
186 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 ...
0
votes
1answer
180 views

I Want to display images instead of text in multiselect attribute

Hi I am new to magento and I am trying to display images instead of text using a multiselect attribute in the product page. To be more specific I have created a multiselect attribute with 4 options ...
0
votes
2answers
1k views

Magento 2 - Helper function to prepare data for backend multiselect field

I'm trying to use a stores allowed currencies to create a multiselect with these values for a custom module. Now my question is, how do I best prepare the data array for the mutliselect field? I ...
0
votes
1answer
220 views

Add multiselect attribute by installer: Wrong values

I am trying to add a multiselect by my install script. This is my code: $installer = Mage::getResourceModel('catalog/setup', 'catalog_setup'); $installer->startSetup(); $options = array(); ...
0
votes
1answer
483 views

Magento 2 how to make group attribute in customer info multiselect?

How to make it to allow customers belonging to multiple groups? Any suggestions will be appreciated. Thanks.
1
vote
1answer
2k views

How can i get selected value in multiple dropdown in admin form

Code: $fieldset->addField('race', 'multiselect', array( 'label' => Mage::helper('tuition')->__('Race'), 'values' => Example_Tuition_Block_Adminhtml_Student_Grid::...