Questions tagged [ui-select]
Question about Magento 2 UI form and UI grid drop-down.
18
questions
0
votes
0
answers
13
views
Checkout DropDown Address Field based on another dropdown field
I am struggling in figuring out how to filter a drop down address field at checkout based on the selection of another one.
We have created an address table containing region, city and post code.
We ...
0
votes
1
answer
367
views
Magento 2.4 admin grid add select filter with search
Good afternoon community, does anyone by chance know how I can add a select type filter to an adminhtml table grid and that additional internally include a search to filter options? As you can see in ...
0
votes
0
answers
355
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
Custom module column in sales order grid with select filter in magento 2
I have a custom module with the columns id, order_id & reason. Now I want to add the reason value in the order grid with the select filter.
Reasons are listed in the other table of the custom ...
0
votes
1
answer
1k
views
How to get value from Ui-select in js magento2 at page load
I have created field in phtml and want to get values from multi-select dropdown inside js.
Inside phtml
<form id="attr-form" action="<?php echo $block->getUrl('*/*/save') ?>...
0
votes
0
answers
90
views
Add/edit combo box type field on Magento 2 admin form
I need to add a select box with a text box so if any data present then admin can select else can type at the same time like below:
plus(+) symbol will override select box to a textbox.
1
vote
0
answers
131
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 ...
1
vote
0
answers
1k
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
1
answer
749
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="...
1
vote
1
answer
2k
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
...
1
vote
0
answers
202
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
1
answer
476
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->...
2
votes
1
answer
2k
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: ...
3
votes
2
answers
3k
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 ...
1
vote
1
answer
2k
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 ...
4
votes
4
answers
6k
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
1
answer
234
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
1
answer
8k
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 ...