ctietze, 28 days ago German @gernot @uliwitness Can you explain? It looks to me like it can parse "round trip" values, i.e. String→PhoneNumber→String→PhoneNumber You can have it parse any String input, get a structured PhoneNumber value, (display this in the UI), encode that into a String (with the .e164 strategy, the other one uses a dictionary), then parse that again. If the UI starts with empty fields, and the user pastes +1234567 into a text field, that should work to kick-start things?
@gernot @uliwitness Can you explain?
It looks to me like it can parse "round trip" values, i.e. String→PhoneNumber→String→PhoneNumber
You can have it parse any String input,
get a structured PhoneNumber value, (display this in the UI),
encode that into a String (with the .e164 strategy, the other one uses a dictionary),
then parse that again.
If the UI starts with empty fields, and the user pastes +1234567 into a text field, that should work to kick-start things?