Skip to content

New options: include and exclude elements by name

Choose a tag to compare

@FThompson FThompson released this 13 Jul 01:39

Added include and exclude options to all functions:

  • include Define a whitelist of input names to be included during serialization. This option must be an array of strings.
  • exclude Define a blacklist of input names to be excluded during serialization. This option must be an array of strings.

Fixed a bug where non-data-persistence elements like <button> were serialized as a blank array.