How can i use to filter field (select) options

how can i use to filter select field options

Hi @MiM

The following code can be used to filter data with option 1 or option 2.{
    method: 'frappe.client.get_value',
    args: {
        'doctype': 'Item',
        'filters': {'your_select_field_name': ["in", ['option1','option2']]}

please let me know if this solves the problem or add some more detail to your query.

1 Like

first of all thanks for your replay
secondly, i do not know the options because i get them from database not fixed options
but i tried to follow this link
and it worked
again thank you very much