Skip to main content

Questions tagged [multiselect]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 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:
Rana Zain's user avatar
  • 658
0 votes
1 answer
27 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 ...
Kaushik Kumar Roy's user avatar
1 vote
1 answer
21 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\...
Attila Naghi's user avatar
  • 4,023
0 votes
2 answers
850 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&...
fudu's user avatar
  • 1,288
1 vote
2 answers
1k 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....
Singhe's user avatar
  • 149
1 vote
0 answers
45 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->...
Ben Dodson's user avatar
0 votes
0 answers
375 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 ...
Ankit's user avatar
  • 352
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. ...
fudu's user avatar
  • 1,288
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('...
Niraj Patel's user avatar
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\...
Niraj sapra's user avatar
1 vote
0 answers
56 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"> &...
KEN IP's user avatar
  • 15
2 votes
0 answers
189 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 ...
Sejal Shah's user avatar
  • 2,141
0 votes
0 answers
269 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?
Salaheddine Radi's user avatar
2 votes
2 answers
608 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?
Radhu's user avatar
  • 179
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 ...
Sayyed Hasan's user avatar
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::...
Mujahidh's user avatar
  • 2,813
0 votes
0 answers
126 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. ...
Naveesh kumar's user avatar
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 "...
Colin Pickup's user avatar
2 votes
0 answers
34 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 ...
Waystar's user avatar
  • 21
0 votes
1 answer
153 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://...
Vadim's user avatar
  • 11
0 votes
2 answers
941 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 ...
Smita Kagwade's user avatar
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', ...
Muhammad Farzam's user avatar
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 ...
chanchal's user avatar
  • 417
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 ...
Newb's user avatar
  • 95
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 ...
Newb's user avatar
  • 95
1 vote
2 answers
4k 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 ...
fudu's user avatar
  • 1,288
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 ...
fudu's user avatar
  • 1,288
0 votes
1 answer
432 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" ...
Dr. Christian Kusche's user avatar
0 votes
0 answers
360 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 ...
Preetam Gawade's user avatar
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" ...
Vishwas Bhatnagar's user avatar
0 votes
1 answer
345 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 ...
clementgamache's user avatar
0 votes
1 answer
427 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-...
devmagento's user avatar
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', '...
Rob D. A.'s user avatar
  • 867
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 ...
Verdu's user avatar
  • 1,730
1 vote
0 answers
58 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 ...
Alex Nkl's user avatar
7 votes
3 answers
10k 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="...
Johan's user avatar
  • 581
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?
zus's user avatar
  • 175
2 votes
1 answer
960 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 ...
Nico V's user avatar
  • 87
0 votes
1 answer
35 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 ...
Sanjay Gohil's user avatar
  • 2,200
1 vote
1 answer
763 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 ...
Jeeva Chezhiyan's user avatar
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 ...
vibhu's user avatar
  • 371
0 votes
1 answer
380 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()-&...
n00bly's user avatar
  • 623
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=...
Alexglvr's user avatar
  • 1,675
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 ...
mark's user avatar
  • 77
1 vote
0 answers
115 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,...
Ilja's user avatar
  • 1,268
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->...
giani.sim's user avatar
  • 1,473
0 votes
3 answers
93 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 ...
babywit's user avatar
  • 659
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->...
Gaurav Jain's user avatar
5 votes
4 answers
13k 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?
Manish's user avatar
  • 3,116
1 vote
2 answers
247 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 ...
Abdul Ghaffar's user avatar