Skip to main content
Version: 2.1

IPv4 Address box

The IPv4 box is used in certain places around WeConfig, and is an input field specifically designed to make it quick to enter IPv4 addresses.

It has a certain numbers of behaviors that are interesting to note:

  • It will automatically jump forwards and backwards if it detects that the user has completed or erased the current value in a given segment. For example, typing 192 into the first box would automatically shift focus to the second box, but writing 19 would not, since another character would still be valid in the first box. As such, typing the following keys 12343541 would be sufficient to enter the value 123.43.54.1
  • Pressing . , or Enter will move focus to the next box.
  • Pressing backspace on an empty box will move you to the previous box.
  • Pressing Ctrl+C to copy will copy the entire box value in IPv4 format.
  • Pressing Ctrl+V with a string in IPv4 format will populate the box.
  • Leading zeros are allowed but will be removed. So 198.018.001.000 becomes 198.18.1.0