[TIL-160] React Native
TextInput 입력 완료 후 값 수정하기 onEndEditing // bankData.json { "1": { "bankName": "국민은행", "number": 14, "validation": { "regex": "/[0-9,-]{6,6}-[0-9,-]{2,2}-[0-9,-]{6,6}/", "hyphen": 2, "index": [6, 9] } }, "2": { "bankName": "기업은행", "number": 14, "validation": { "regex": "/[0-9,-]{3,3}-[0-9,-]{6,6}-[0-9,-]{2,2}-[0-9,-]{3,3}/", "hyphen": 3, "index": [3, 10, 13] } }, ... } const modifyAccout = () => { ..
더보기