Follow us on
  1. Hello dear codestar, how are you?
    I thank you again for this professional and excellent product.

    There is a problem for me in the select field. And that it does not work in search containing. It must be searched carefully from the beginning to come.

    Posted 1 year ago #

  2. Codestar
    Admin

    Hi,

    Thanks for nice words. I an fine thanks, I hope you fine too...

    Is it a ajax search or normal options search? Can you give me another example for understand well. Maybe you can share an example config array. ?

    Regards, Codestar

    Posted 1 year ago #
  3. Please see the private section

    Posted 1 year ago #

  4. Codestar
    Admin

    Hi,

    I think I understood the question now. If I understand right you talking about this:

    For eg. Suppose options are like this:

    option => 'wp_select_capabilities'
    option => 'wp_select_user_level'CopyCopied!

    then you typing to "level" for search, and no found result right ?

    If right, you can try this. Add "settings/search_contains" parameter to your select config:

    ...
    'options' => PAYAMITO_EDD()->functions::get_meta_keys(),
    'settings' => array(
      'search_contains' => true,
    ),
    ....CopyCopied!

    Also I suggest an improve about get_meta_keys function. Update like this for avoid 1,2,3,4,5 numbers in selector.

    // /payamito-easy-digital-downloads-sms/includes/class-functions.php#L213
    // from
    array_push($final, array($result['meta_key'] => $result['meta_key']));
    // to
    $final[ $result['meta_key'] ] = $result['meta_key'];CopyCopied!

    Regards, Codestar

    Posted 1 year ago #
  5. Thank you for taking the trouble to help me. I do appreciate it.
    Thank you once again for everything you’ve done.

    All the best on your new fortune.

    Posted 1 year ago #

  6. Codestar
    Admin

    Hi,

    Thanks for pretty words, I get happy really

    Regards, Codestar

    Posted 1 year ago #