Open Closed

ABP autocomplete based on input value #6979

User avatar
rohit.jadhav created

Is it possible to populate the dropdown based on another dropdown selected value ?

Ex: if we use auto complete to list all cities based on a selected country in another dropdown, is it possible to do it in ABP ?

The below documentation does not mention about it.

1 Answer(s)
  • User Avatar
    liangshiwei created
    Support Team Fullstack Developer


    You can use select2:

    Add parameters in AJAX request:

      ajax: {
        url: '',
        data: function (params) {
          var query = {
            filter: params.term,
            country: $("#country").val() // your country selected value
          return query;
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11