Code Monkey home page Code Monkey logo

repeater-app's People

Contributors

davidfateh avatar lassehall avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

repeater-app's Issues

Autocomplete Field in Table

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

Can we add the functionality to rearrange the blocks?

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?

  1. Ability to rearrange the blocks [each block should be draggable and droppable any place inside the repeater container]
  2. Number of fields should be configurable [now it's restricted to two]
  3. Max number of characters for each field should be configurable.

Thanks in advance
Anjan

Add help text for field

Awesome Contentful app, it would however be very helpful if this component would also support adding a help text.

Widget ID for the repeater app

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'
    )

How to have more than 2 values?

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

Broken Locale Fallback Behavior

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

How do I add the repeater app through JSON migration?

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.