Access to ipSegments $refs
jamie-kount opened this issue · 1 comments
jamie-kount commented
I am using vue-ip for an IP address range component where I need to verify the second ip address is greater than the first ip address. In order to do this, I need access to the segments within each ip address. Could this possibly be added as a parameter to the on-change event?
peteringram0 commented
@jamie-kount the onChange event sends back the the IP. You can simply run a .split('.') against it to get it as an array then compare each segment or something similar?