mirror of
https://github.com/strapi/strapi.git
synced 2025-12-28 23:57:32 +00:00
Created specific NonRepeatableComponent
This commit is contained in:
parent
dea12b0631
commit
e51bdba352
@ -12,7 +12,7 @@ import Label from './Label';
|
||||
|
||||
import Reset from './ResetComponent';
|
||||
import Wrapper from './Wrapper';
|
||||
import NonRepeatableComponent from './NonRepeatableComponent';
|
||||
import NonRepeatableComponent from '../NonRepeatableComponent';
|
||||
|
||||
const FieldComponent = ({ componentUid, isRepeatable, label, name }) => {
|
||||
const {
|
||||
|
||||
@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
|
||||
import { get } from 'lodash';
|
||||
import NonRepeatableWrapper from '../NonRepeatableWrapper';
|
||||
import Inputs from '../Inputs';
|
||||
import FieldComponent from './index';
|
||||
import FieldComponent from '../FieldComponent';
|
||||
|
||||
const NonRepeatableComponent = ({ fields, name, schema }) => {
|
||||
const getField = fieldName =>
|
||||
Loading…
x
Reference in New Issue
Block a user