We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It seems like plain-text alerts use hard-coded button options. They display with these values, and those are not the values I've specified.
plain-text
I'm opening an alert like this:
Alert.alert( '<Prompt text>', '<Prompt text 2>', [ { text: 'Confirm', style: 'default', onPress: (text) => { console.log('Pressed confirm with text: ', text); }, }, { text: 'Cancel', style: 'cancel', onPress: () => { console.log('Pressed cancel'); }, } ], 'plain-text', '', 0, )
Alerts of style plain-text should honor the button text and style specified by users, rather than always using hard-coded values
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
It seems like

plain-text
alerts use hard-coded button options. They display with these values, and those are not the values I've specified.Reproduction
I'm opening an alert like this:
Solution
Alerts of style
plain-text
should honor the button text and style specified by users, rather than always using hard-coded valuesAdditional Information
The text was updated successfully, but these errors were encountered: