Closed Sanjaypatel145 closed 2 weeks ago
In Textarea widget, "Value" property should be bound to string variable and you can use Flow.parseFloat
to convert string to float.
fixed
Still a problem occurs when user accidentally inserts "." two times the flow will throw error, eventually rebooting....
can you please suggest me to resolve this
You can catch that error. Here is the updated project that does that:
BTW to catch an error in some action enable "Catch error" option:
Thanks a lot, let me try and will update you on the same.
On Fri, Nov 15, 2024 at 9:05 PM Martin Vladić @.***> wrote:
BTW to catch an error in some action enable "Catch error" option:
image.png (view on web) https://github.com/user-attachments/assets/0fe7e8e3-3ddc-434a-894a-024ee97a7e0d
— Reply to this email directly, view it on GitHub https://github.com/eez-open/studio/issues/605#issuecomment-2479198882, or unsubscribe https://github.com/notifications/unsubscribe-auth/BI6B3BOM6ZHRCCDIXV27BWT2AYIDTAVCNFSM6AAAAABQH354ISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZZGE4TQOBYGI . You are receiving this because you modified the open/close state.Message ID: @.***>
-- With warm regards,
Sanjay Patel
+91 94296 64057
Describe the bug When editing the text area with Numeric Key board decimal point can be placed at last while editing, but when text area is assigned to variable using expression decimal point cannot be placed at the last place.
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots
Working correctly when text area is literal
error here when text area is assigned to variable data using expression
Desktop (please complete the following information):
LVGL version (if used)
Additional context Add any other context about the problem here.