Skip to content

Commit ec76c76

Browse files
ibelargeorgehristovmvorisek
committed
[fix] ScopeBuilder operator for hasOne (#1485)
* [fix] ScopeBuilder operator * [fix] select inputType operator mapping Co-authored-by: Georgi Hristov <[email protected]> Co-authored-by: Michael Voříšek <[email protected]>
1 parent 3a50db1 commit ec76c76

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Form/Control/ScopeBuilder.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,10 @@ class ScopeBuilder extends Control
183183
self::OPERATOR_EMPTY => Condition::OPERATOR_EQUALS,
184184
self::OPERATOR_NOT_EMPTY => Condition::OPERATOR_DOESNOT_EQUAL,
185185
],
186+
'select' => [
187+
self::OPERATOR_EQUALS => Condition::OPERATOR_EQUALS,
188+
self::OPERATOR_DOESNOT_EQUAL => Condition::OPERATOR_DOESNOT_EQUAL,
189+
],
186190
];
187191

188192
/**
@@ -217,6 +221,7 @@ class ScopeBuilder extends Control
217221
],
218222
'enum' => [
219223
'type' => 'select',
224+
'inputType' => 'select',
220225
'operators' => [
221226
self::OPERATOR_EQUALS,
222227
self::OPERATOR_DOESNOT_EQUAL,

0 commit comments

Comments
 (0)