davidfateh / repeater-app Goto Github PK
View Code? Open in Web Editor NEWThe Repeater App creates a repeatable list of key-value pairs.
License: MIT License
The Repeater App creates a repeatable list of key-value pairs.
License: MIT License
Hi, Can you please make one of the fields (for ex: Item Name) an Autocomplete Field. I have been facing some difficulty in configuring that within a table
Hi David,
Thanks for this awesome app. This app solved my requirement with a single content-model.
Can we add few more functionalities to it?
Thanks in advance
Anjan
Awesome Contentful app, it would however be very helpful if this component would also support adding a help text.
Hello,
I am trying to create a migration to configure the view of a json object to this app, however, i can't seem to find the widget ID for this?
Tried:
repeater
repeater-app
repeaterApp
ComponentContentModel
.changeFieldControl(
'anchorLinks',
'extension',
'repeater'
)
David, thanks for this awesome app, I would like to know how I could have a third field allowing me to put an Image
Do you think it s possible?
Thank you
Hey @davidfateh I Installed the repeater app from the app store.
https://user-images.githubusercontent.com/739061/133297218-6f7fafc5-903c-49e9-945f-e3dc569bcb5e.mov
Digging into the code uncommenting onChange={createOnChangeHandler(item, 'value')}
fixes this but obviously wont save the value.
I'm using the latest Firefox on Mac.
I see this library has not been updated in 15 Months at the time of filing this issue, this is to document for other potential users.
There are issues with this field application when it comes to localizing at a field level. What is returned from this field in some cases is an empty array for the value and not null. Contentful's fallback logic is weak and evaluates the empty array as a useful value and therefore does not fall back. This is a problem as there are unknown variables that go into when this field produces an empty array for a value. It is somehow related to how field level localization works. One does not have to directly edit and save a field to produce an empty array, but I suspect the field being visible for a locale (ie editing multiple locales in the contentful UI) has some impact.
If this app were to write empty values for keys as null I believe that would mitigate the issue and allow the field level fallback behavior to work as expected.
A tangentially related issue:
contentful/contentful.js#1000
We update our content models using the CLI through JSON. I can not find anywhere how to setup the Repeater app correctly for a field we are using. I would assume it would have to look something like this:
{
fields: [
{
id: 'myJsonFields',
type: 'Object',
name: 'MyJsonFields',
widget: {
id: 'Repeater', <-- probably not correct
namespace: 'app',
}
}]
}
but I can not find an id anywhere, and if I set it by hand then everytime I run my migration script the Repeater app is removed from the appearance and I have to set it back, wich is quite annoying.
Any help is appreciated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.