Skip to main content
Each breaking @servicetitan/anvil2-ext-common release gets a section here with before/after code, newest first.

0.8.x → 0.9.0

Selection fields require selectable field states

Form.Select, Form.SelectSync, Form.MultiSelect, Form.MultiSelectSync, and Form.TreeSelect now require a SelectableOptionsFieldState (single) or SelectableOptionsArrayFieldState (multiple) instead of a bare A2InputFieldState. Before:
After:

Sync variants no longer accept an options prop

Form.SelectSync and Form.MultiSelectSync no longer take an options prop. Call fieldState.setOptions(options) instead. Before:
After:

RadioGroup and CheckboxGroup values are full option objects

Form.RadioGroup and Form.CheckboxGroup field values are now the full selected option object(s), not bare id(s). Before:
After:

Selectable field states take a single generic

SelectableOptionsFieldState and SelectableOptionsArrayFieldState now take a single generic parameter <G> (the option type) instead of <T, G> (value type and option type). Before:
After:
Last modified on October 12, 2026