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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
FormhausCore
Passes the conformance suite of @formhaus/core 1.1.1.
Format 1.6: "randomize": true on a radio, multiselect or select field shows its options in a random order per respondent. Options with "pinned": true and exclusive options keep their written position.
New FormEngineOptions.seed and FormEngineOptions.research. The same seed shows the same order. engine.seed returns it.
New engine.orderOptions(_:options:) returns the options of a field in shown order.
New FormResearch protocol for the option order.
Without research, options show in written order, and debug builds report missing-research once per process through onWarning.
checkDefinition() reports randomize-not-applicable, and outdated-format-version for randomize or pinned below format 1.6.
FormhausResearch
New product with Research, the option order of @formhaus/core/research. Pass Research() as research to apply it.
FormhausUI
Fields with randomize show their options in the order of engine.orderOptions(_:options:), including options from a provider.