Skip to content

Initial signal value react native input field not showing #571

@SupertigerDev

Description

@SupertigerDev
  • Check if updating to the latest version resolves the issue

Environment

  • I am using @preact/signals-core
  • I am using @preact/signals
  • I am using @preact/signals-react

Describe the bug
On web, it works fine. the input field shows the existing signal value. but on ios/android, the initial signal value does not show.

To Reproduce
https://snack.expo.dev/PWLDLLtxZpvpWq2hW_OKT?platform=web

Steps to reproduce the behavior:

  1. Go to the url above
  2. go to the web version and see that its working as intended, the input field contains "test"
  3. go to android/ios, see that the input field is empty.

Expected behavior
The input field for ios/android should contain the word "test" just like in the web version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions