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

    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


    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 received your message and our expert will get back to you shortly.
    Send Again
    Close