Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Pass array to FORM_CONTROLS
  • Loading branch information
elazzabi committed Aug 8, 2025
commit e2f4bc750a4d0e9553680bbc92f5a601b3f28101
2 changes: 2 additions & 0 deletions packages/dataviews/src/dataform-controls/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ import select from './select';
import text from './text';
import toggleGroup from './toggle-group';
import boolean from './boolean';
import array from './array';

interface FormControls {
[ key: string ]: ComponentType< DataFormControlProps< any > >;
}

const FORM_CONTROLS: FormControls = {
array,
boolean,
checkbox,
datetime,
Expand Down