Closed Ashoat closed 6 years ago
Please replace index.ios.js / index.android.js to index.js (from master and this branch) as it's the new default of RN 0.49
Please replace index.ios.js / index.android.js to index.js (from master and this branch) as it's the new default of RN 0.49
Okay, done: a77044ce15597e4112ebf09fcaffd028164172a9
How about also move and tweak the "default" parseTags invocation and function to this example?
Great idea! I went ahead and updated TagInputExample
, but I got rid of the regex part since it was just a simple catch-all: c2a00d3e9fd44bd738367113cc72ba485846dd5a
text
state up to parent to enable more complex use casesonChangeText
that gets called whenever the text changes, and is used to updatetext
prop, as well as to parse any new tags and updatevalue
accordinglyparseTags
and associated props (seperators
,regex
, andparseOnBlur
) are removed in favor of having the client handle this logic themselvesMore details in #39.