Validates typed text against the field's units. A unit-less field drops any unit ("10px" becomes 10); a field with units rejects units it does not list and defaults a missing unit to its first.
Typed or stored text.
Field rules.
Whether the text is a stored value, whose unit-less numbers are scaled by plainScale.
The accepted parts, or null when the text must be rejected.
Validates typed text against the field's units. A unit-less field drops any unit ("10px" becomes 10); a field with units rejects units it does not list and defaults a missing unit to its first.