I need to include this as a controlled component for use in forms, (inside a wrapped field with something like React Final Form),
As such the initialvalue may change (say for instance via form reset).
Once the object is rendered, change to initialvalue has no effect
Can you please expose a method (like ref.clear()) to set the current value, that way I can use a react side effect to listen to changes in my wrapped component, and then inject these changes into your pin code component.
Thanks.
I need to include this as a controlled component for use in forms, (inside a wrapped field with something like React Final Form),
As such the initialvalue may change (say for instance via form reset).
Once the object is rendered, change to initialvalue has no effect
Can you please expose a method (like ref.clear()) to set the current value, that way I can use a react side effect to listen to changes in my wrapped component, and then inject these changes into your pin code component.
Thanks.