Skip to content

AlertIOS.prompt() default values are broken #5273

Closed

Description

@corbt

Currently when using AlertIOS.prompt() with a default prompt value, that value is applied as the prompt's message, not the default value as the docs indicate. It looks like this regression was introduced between 0.16 and 0.17.

RN 0.16

screen shot 2016-01-12 at 8 06 41 pm

## RN 0.18-rc

screen shot 2016-01-12 at 8 09 26 pm

I'm planning on looking into this today or tomorrow.

Activity

  1. facebook-github-bot commented on Jan 12, 2016

    @facebook-github-bot
    Contributor

    Hey corbt, thanks for reporting this issue!

    React Native, as you've probably heard, is getting really popular and truth is we're getting a bit overwhelmed by the activity surrounding it. There are just too many issues for us to manage properly.

    • If you don't know how to do something or something is not working as you expect but not sure it's a bug, please ask on StackOverflow with the tag react-native or for more real time interactions, ask on Discord in the #react-native channel.
    • If this is a feature request or a bug that you would like to be fixed, please report it on Product Pains. It has a ranking feature that lets us focus on the most important issues the community is experiencing.
    • We welcome clear issues and PRs that are ready for in-depth discussion. Please provide screenshots where appropriate and always mention the version of React Native you're using. Thank you for your contributions!
  2. mkonicek commented on Jan 14, 2016

    @mkonicek
    Contributor

    Thanks @corbt!

  3. ghost added a commit that references this issue on Jan 21, 2016
  4. added a commit that references this issue on Feb 1, 2016
  5. corbt commented on Mar 12, 2016

    @corbt
    ContributorAuthor

    Fixed in #5286

  6. added a commit that references this issue on May 25, 2016
  7. locked as resolved and limited conversation to collaborators on May 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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