FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
98 stars 17 forks source link

Border width from variable dont work #2835

Open Perlo34 opened 2 weeks ago

Perlo34 commented 2 weeks ago

Has your issue been reported?

Current Behavior

I use a page state do define if the border width is equal to 1 or 3 but it always keep the default value i put (3)

Expected Behavior

I want to change the border width conditionnal

Steps to Reproduce

  1. Create app or page state
  2. Create Action to switch the value of page state
  3. Create a container and set the value of border width from variable
  4. Test

Reproducible from Blank

Bug Report Code (Required)

ITFXhfKA4ot1mNhE7s/LYO5FliMwGUALa+dI0tZ+TQ0jF5D4P7Qid+DRbldCQsCzaHxpfFCihlEBpcrpidnLMe4EKROWfKY4zql2VRPPbHuWb8zRPbisWkEnEeVYC2KAy7WzmSJ/CNRsS11hw2eUHO6Xaz6Cf9qOYwx5e6fDbOY=

Context

can't have the UI i want

Visual documentation

https://github.com/FlutterFlow/flutterflow-issues/assets/136898815/f7c2907e-3ec5-4f67-9dff-b164af51c575

the color change but not border width

image I up the value to see clearly their are not difference

image the code generated

Additional Info

not

Environment

- FlutterFlow version: 4.1.45
- Platform: Windows
- Browser name and version:windows 11
- Operating system and version affected:

General

Relative to the time the changes were made, data was lost within

When following my steps to reproduce, data loss happens

paulperez-dev commented 2 weeks ago

Hi @Perlo34, thanks for submitting the issue. I've taken a look at your project, but with a lot going on, it's challenging to pinpoint the issue. Given the nature of the problem you're highlighting, we need a blank project with the issue steps set up in it. Without these details, it might be a bit challenging for us to investigate the issue. Please provide the required information.

Perlo34 commented 2 weeks ago

This is the new Bug Code : IT4Kj8iBx852pbxZ1s7ycvlahSQRQ2YkbZIalut9SRUjG72tG7l/S8+kfhNuXbC0YWxUOlqj+XId3NHemvDAUPYoZE2sbNl6+pducg7LQmWgbpigC6uaXm5/DdtgIBTF57aVvyMlCMxhWVIiwE2QP9iQQhHZJ5+3ImwjJPiiLZOK2SrDX1iXc2URm05KZDPz

With a blank project

paulperez-dev commented 2 weeks ago

Hi @Perlo34, thanks for the code! I reported this issue to the internal team so they can take a look into this!