Redeem Now
Read More
Read now
Menu Close
    Start a Project Request quote Reading list Switch to dark mode
    magento-hyperlocal-marketplace-guide

    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.

    . . .

    Leave a Comment

    Your email address will not be published. Required fields are marked*


    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