mirror of
https://github.com/maputnik/editor.git
synced 2026-12-04 07:44:22 +00:00
Follow-up to #2391. The earlier change added a numeric list for one to four values. `FieldFunction` still sends every `padding` value to that list, including expressions made by **Convert to expression**. Recognize expression arrays before sending padding values to the number inputs. Numeric arrays and legacy scalar values still use the regular padding editor. Added a Playwright regression check that converts a saved padding value to a literal expression and verifies that the expression editor opens. The existing numeric padding tests also pass.