Replies: 1 comment
-
|
Hi @wansidqi! Are you still having this issue with a later build? If so, please create a bug issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’m running into two issues while using Perry UI:
Inline styling not applying:
I followed the inline styling approach from the docs, but styles passed directly (e.g., backgroundColor) don’t seem to take effect on my button. I expected the inline styles to override defaults, but nothing changes in the UI.
Reactive state not updating UI:
I’m using State with TextField and binding via stateBindTextfield. Although the state updates internally, the UI text (Text("You typed: ${text.value}")) does not re-render when typing.
Here’s a simplified version of my code:
HStack(12, [field, Text(
You typed: ${text.value})])And for inline styling:
I referred to:
Inline styling docs
TextField/reactive state docs
Am I misunderstanding how inline styles or reactivity work in Perry UI? What’s the correct way to make styles apply and ensure UI updates when state changes?
ps: my current version is 0.5.386, and I try to update to 0.5.465, but got error this:
Error: Failed to extract archive
Caused by:
0: failed to iterate over archive
1: invalid gzip header
Beta Was this translation helpful? Give feedback.
All reactions