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
Attempt to add a filter with a value of zero. The "add filter" button will be disabled as shown in this screenshot:
👍 Expected behavior
The add filter button should add the filter
👎 Actual Behavior
The add filter button is not clickable. Probably because zero is falsy in Typescript and there is an "if " statement somewhere that should be "if == null"
🎲 Appwrite version
Appwrite Cloud
💻 Operating system
Linux
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
@sierra-hotel, thanks for creating this! 🙏🏼 you're right, it looks like this is happening because 0 is falsy. While fixing this, we should probably also make sure to allow passing empty string too 🧐
👟 Reproduction steps
Attempt to add a filter with a value of zero. The "add filter" button will be disabled as shown in this screenshot:
👍 Expected behavior
The add filter button should add the filter
👎 Actual Behavior
The add filter button is not clickable. Probably because zero is falsy in Typescript and there is an "if " statement somewhere that should be "if == null"
🎲 Appwrite version
Appwrite Cloud
💻 Operating system
Linux
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: