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
I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.
Current Behavior
I was trying to set a button to disable based on a checkbox/switch, however for the life of me it wouldn't work.
After investigating a bit more, regardless of the action/value that's put into it, it simply won't disable correctly, even if I directly set disabled to true.
However, setting "preview in UI builder" oddly does force it to be true.
Expected Behavior
Disabled should react to the value/condition that is set.
Steps to Reproduce
Create a new project
Add a page
Add a button
Set the button's disabled field to true
Set a color to something you can see
Preview
Reproducible from Blank
The steps to reproduce above start from a blank project.
I’ve tried to reproduce the error, but I wasn’t able to.
I noticed that the disabled state of the button isn’t being applied because you're viewing the project in Preview mode. In this mode, there are some limitations. However, if you switch to Test mode, you should see the button correctly disabled, with the styles you applied.
@Juansarmi thanks for your feedback - it really wasn't obvious to me that it wouldn't work in preview, so was banging my head thinking it was me - can confirm it works in test mode. 👍
I’m glad everything is working as expected now! I’ll go ahead and close this issue, but if you encounter anything else, please don’t hesitate to open a new one!
Can we access your project?
Current Behavior
I was trying to set a button to disable based on a checkbox/switch, however for the life of me it wouldn't work.
After investigating a bit more, regardless of the action/value that's put into it, it simply won't disable correctly, even if I directly set disabled to true.
However, setting "preview in UI builder" oddly does force it to be true.
Expected Behavior
Disabled should react to the value/condition that is set.
Steps to Reproduce
Reproducible from Blank
Bug Report Code (Required)
ITFTz/Hqx89Nobhe+KrAb8doqCQvCUMfWLsr0utuGA0hNYutB6Qcf87BPhJLYte+Y25IAleakkwK0ej8uOLlEcY3ITasUa49yL5XQT3geDmVM66MCrjgP0R7MJtPJ23E1pmNgiNTJs9pdE4Q2V+uLvCdG3qCf9qOYwx5e6fDbOY=
Visual documentation
Environment
Additional Information
I'm just trying to disable a button if the user doesn't check a box T_T
The text was updated successfully, but these errors were encountered: