Menu Close
    Hire us Request quote Reading list Switch to dark mode
    lockdownWebkulUp

    Add ui-select with search filter in admin form magento2

    If in your application you want to add an ui-select in your ui-form with a search filter, then you can use following process:

    First you need to a field in your ui-form:


    Now create Js file to map the fields value:

    Webkul_Test/view/adminhtml/web/js/components/select-customer.js


    Now create file to get options to display in select:

    Webkul\Test\Ui\Component\Create\Form\Customer\Options.php

    . . .
    Subscribe Articles

    Just enter your email below to subscribe and receive weekly updates about the most interesting similar articles.

    You need to accept conditions to receive letters.
    You've Subscribed!

    Share article via

    . . .


    After this a select-ui with search filter will be displayed on your form.

     

    Hope, this will help you to implement your functionality.

    Thank you.

    . . .

    Comment

    Add Your Comment

    Be the first to comment.

    Back to Top
    css.php
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again
    Close