Skip to content

Commit

Permalink
Update js doc
Browse files Browse the repository at this point in the history
  • Loading branch information
dsuren1 committed Nov 12, 2024
1 parent 283a84d commit ebbd855
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ import isString from 'lodash/isString';
import Autocomplete from '@js/components/Autocomplete/Autocomplete';
import DefaultSchemaField from '@rjsf/core/lib/components/fields/SchemaField';

/**
* `SchemaField` is an enhanced component that overrides `@rjsf`'s default `SchemaField`
* - Customizes the rendering of object and array fields with custom functionality, such as support for autocomplete fields.
* - Provides `onChange` handlers to update `formData` dynamically.
* - Fallback to the default `SchemaField` from `@rjsf` when no custom rendering is needed.
*/
const SchemaField = (props) => {
const {
onChange,
Expand Down

0 comments on commit ebbd855

Please sign in to comment.