You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting the equal-to attribute to a boolean type does not work as expected when its value is false. The attribute works as expected when boolean and true, or other types.
Expected outcome
When a document in the Firebase database has a child in it set to true, and the firebase-query attribute equal-to is set to false, the query should not return that document.
Actual outcome
It returns all documents, ignoring the equalTo. If the values were instead Strings or equal-to is set to true, it works as expected.
The demo starts with equal-to being boolean false. The expected false results should be a single line of "Boolean value of false", instead all documents are listed.
After clicking test true, equal-to is set to boolean true, a single line of "Boolean value of true" is shown as expected.
Description
Setting the
equal-to
attribute to a boolean type does not work as expected when its value isfalse
. The attribute works as expected when boolean andtrue
, or other types.Expected outcome
When a document in the Firebase database has a child in it set to
true
, and the firebase-query attributeequal-to
is set tofalse
, the query should not return that document.Actual outcome
It returns all documents, ignoring the equalTo. If the values were instead Strings or
equal-to
is set totrue
, it works as expected.Live Demo
Link to demo
Steps to reproduce
false
. The expectedfalse
results should be a single line of "Boolean value of false", instead all documents are listed.equal-to
is set to booleantrue
, a single line of "Boolean value of true" is shown as expected.Link to database
The text was updated successfully, but these errors were encountered: