diff --git a/packages/builder/src/components/ComponentOptions/components/Content/Page/components/ItemOptions/components/Input.js b/packages/builder/src/components/ComponentOptions/components/Content/Page/components/ItemOptions/components/Input.js
index edd345d05..3abd17af7 100644
--- a/packages/builder/src/components/ComponentOptions/components/Content/Page/components/ItemOptions/components/Input.js
+++ b/packages/builder/src/components/ComponentOptions/components/Content/Page/components/ItemOptions/components/Input.js
@@ -1,14 +1,15 @@
import React from 'react'
-import { Control } from 'react-redux-form'
+import { Field, useFormikContext, getIn } from 'formik'
import { Row, Col,
- Input, InputGroup, InputGroupAddon, InputGroupText,
+ InputGroup, InputGroupAddon, InputGroupText,
FormGroup, Label, FormText } from 'reactstrap'
import { CollapsingOptions } from './BaseOptions'
import Icon from '../../../../../../../Icon'
+import { Input } from '../../../../../../../Form'
-export const ExtraOptions = ({ type }) => {
+export const ExtraOptions = ({ name, type }) => {
switch (type) {
case 'number':
return <>
@@ -19,33 +20,33 @@ export const ExtraOptions = ({ type }) => {
-
-
-
@@ -59,22 +60,22 @@ export const ExtraOptions = ({ type }) => {
-
-
@@ -84,46 +85,51 @@ export const ExtraOptions = ({ type }) => {
}
}
-export default ({ rowIndex, type, data }) =>
- <>
+export default ({ name, index, type }) => {
+ const { values } = useFormikContext()
+ const attributes = getIn(values, `${ name }.attributes`)
+
+ return <>
-
{
type === 'input' && <>
-
-
+
>
}
>
+}