From 9feccc8fe1e0a03d56292ef7da4c5e9abf2db01b Mon Sep 17 00:00:00 2001 From: Ruvice Date: Thu, 19 Sep 2019 14:09:59 +0100 Subject: [PATCH] Updated index.js, picker modal should show formattedinput --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 75630fd9..cfc58b11 100644 --- a/lib/index.js +++ b/lib/index.js @@ -206,7 +206,7 @@ export default class PhoneInput extends Component { }} keyboardType="phone-pad" underlineColorAndroid="rgba(0,0,0,0)" - value={inputValue} + value={this.state.formattedNumber} {...this.props.textProps} />