Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

problems with numberFilterType option 'condition_operator' => FilterOperands::OPERAND_SELECTOR #236

Closed
raynermenendez opened this issue Dec 7, 2016 · 0 comments

Comments

@raynermenendez
Copy link

im using numberFilterType and i want to use the option 'condition_operator' => FilterOperands::OPERAND_SELECTOR but when i trie to use it my number field was displayed without any options(Is supposed to show a combo box or something like that?) in the template and when i submit the form i got the following error:
Warning: array_key_exists() expects parameter 2 to be array, null given
I used other field options like OPERATOR_GREATER_THAN and works perfect the problem is when i trie to use
OPERAND_SELECTOR.

my field configuration is
->add('presupuesto', Filters\NumberFilterType::class, array('condition_operator' => FilterOperands::OPERAND_SELECTOR)).

I will appreciate any help
thank you and sorry for my english i know is bad

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants