You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Calculate Field preview: show when the layer's checks would refuse the edit #2837
The Calculate Field preview (#2817) shows what the expression gives for the first rows as the field holds them, but not whether the layer's checks would accept it. apply_with runs domains, allowed combinations of values and constraint rules after evaluation (crates/engine/src/cmd/design.rs:297-345), and calculation rules may rewrite the field afterwards, so a previewed 3 · 4 · 5 can end in "3 isn't allowed in n (its domain)" with nothing written (calculate_field_bulk_edit_keeps_validation_archive_and_undo, crates/engine/src/tests.rs:50906). The preview could say, for its rows, which check would refuse them. Raised by the review of #2822.
Activity