Given the formData and list of options, attempts to find the index of the option that best matches the data.
formData
options
Adapted from https://github.com/rjsf-team/react-jsonschema-form/blob/b8f700a1cd2b9b8d7f67040e334836d236b325a4/packages/utils/src/schema/getMatchingOption.ts
The current formData, if any, used to figure out a match
The list of options to find a matching options from
Generated using TypeDoc
Given the
formData
and list ofoptions
, attempts to find the index of the option that best matches the data.Adapted from https://github.com/rjsf-team/react-jsonschema-form/blob/b8f700a1cd2b9b8d7f67040e334836d236b325a4/packages/utils/src/schema/getMatchingOption.ts