Open JPMeehan opened 2 months ago
The choices parameter in NumberFieldOptions should constrain the resulting type, but it does not currently.
choices
Options for implementation
Note that the choices parameter is implemented separately in the Foundry code.
Current example of the choices parameter for a NumberField is foundry.documents.BaseNote["textAnchor"]
foundry.documents.BaseNote["textAnchor"]
The
choices
parameter in NumberFieldOptions should constrain the resulting type, but it does not currently.Options for implementation
Note that the
choices
parameter is implemented separately in the Foundry code.Current example of the
choices
parameter for a NumberField isfoundry.documents.BaseNote["textAnchor"]