-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Description
I need to use the TextArrayInput component; however, I've realized that it is only available in version 5.5, and I am currently on version 5.3. Unfortunately, we cannot update to the minor version at this time. Is there an alternative for this?
I've been trying to implement a solution using the Autocomplete component as follows:
<Autocomplete
clearIcon={false}
options={[]}
freeSolo
multiple
value={parsedEmails.supportContactStackCommerce}
onChange={handleEmailChange('supportContactStackCommerce')}
renderTags={(value, props) =>
value.map((option, index) => (
<Chip key={index} label={option} {...props({ index })} />
))
}
renderInput={(params) => (
<TextField
{...params}
label="Support Contact (StackCommerce)"
helperText="Add emails"
/>
)}
fullWidth
/>However, this approach is not working properly with SimpleForm because it doesn't recognize changes for this specific field.
Metadata
Metadata
Assignees
Labels
No labels