Questions tagged [ui-select]

Question about Magento 2 UI form and UI grid drop-down.

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

Clear a ui-select dropdown field or provide an empty value

I wanted to add a little filter to a dropdown and did so with a ui-select component which works almost perfectly except once set I am struggling to then unet the value. Only other values are shown and ...
1
vote
1answer
41 views

Magento 2: Ui form not loading after adding select field

I have a ui-form for adding new record to my table. But the form is not loading when I add a new select field into it. Here is the field component in the form.xml file, <field name="...
0
votes
1answer
67 views

Magento2: Showing custom table data as options for select dropdown in UI component grid form

I have a UI grid form in the admin, that allows the admin to edit the data in a grid. The grid is listing data from a custom table multivendor_pickupinstore with structure below: id seller_id ...
0
votes
0answers
12 views

Magento 2 product/form/modifer display mutiselect attribute as Ui-seelct

> namespace vendor\module\Ui\DataProvider\Product\Form\Modifier; ....... > > public function modifyMeta(array $meta) > { if (isset($meta['appearance']['children']['container_addon']['...
1
vote
0answers
35 views

Filter search not working in magento 2

How to filter search work with select option(it still work with text field) <field name="job"> <argument name="data" xsi:type="array"> <item name="options" ...
2
votes
0answers
257 views

Magento 2 : admin product edit page custom attribute with customised Ui-Select

I have created product attribute with input type select below, I have put attribute create code. $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); $eavSetup->...
1
vote
1answer
699 views

Magento 2 : how to clear selected Value form Custom UI Component select(Dropdown)

Custom ui component select(Dropdown) <select class="admin__control-select" data-bind=" event:{ change: selectOptionCategory(uid)}, attr: { name: inputName, id: ...
1
vote
1answer
890 views

Magento 2: How to add optgroup to select dropdown

In my ui-select fields I want to sort my options by different optgroups like: Source model location is Vendor/Model/Source/Model.php and it has the function for options as below public function ...
0
votes
1answer
524 views

Multi Select UI Field in user form magento2

I am showing multiselect dropdown in user form in admin panel(System->All user->Add User) I have created a plugin for creating field in that form. Here is the code, I am using: public function ...
2
votes
3answers
2k views

Preselect default options in the Ui-select component of Magento 2

I'm able to load custom options into the select but I don't know how to pre-select some of these options at page load My UI field: <field name="products"> <argument name="data" xsi:type=...
1
vote
1answer
171 views

Magento-2.0.15: Ui-Component Ui Element Ui-select not looking properly and showing two label

I am trying to create a ui-select element using ui-component form, for fullfil my requirement in admin section. I have written code as below: <field name="vendor_id"> <argument name=...
3
votes
1answer
4k views

How to add drop down in admin grid in magento 2

I need to add a drop down in the admin grid of a custom module. I have set the editor type as select, but how to set the data source of the select to read from another database table? I need to ...