Questions tagged [ui-select]

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

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

Can i use UI-select component in a widget?

I'm attempting to use the UI-select component for the Category in a widget. I haven't had any luck finding a resource that shows it is possible. My question is if i can use UI-select component as ...
0
votes
0answers
44 views

Show selected options near to element in admin product edit page -M2

In Magento-1, I have write script in this bellow file to show selected options of multi select. app/design/adminhtml/default/default/template/catalog/form/renderer/fieldset/element.phtml In Magento2, ...
0
votes
0answers
241 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
147 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
505 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
16 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
38 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
284 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
879 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: ...
2
votes
2answers
1k 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
859 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 ...
3
votes
3answers
3k 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
183 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
5k 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 ...