GithubHelp home page GithubHelp logo

multicomposite-addon's People

Contributors

markdaugherty avatar pmichelotti avatar alexlockhart7 avatar modeckimellett avatar jmolsen avatar

Stargazers

subi avatar mkbrv avatar  avatar Will Tonkin avatar

Watchers

James Cloos avatar Michael Hodgdon avatar  avatar Michael Kang avatar  avatar

multicomposite-addon's Issues

Multicomposite select list issue

Hello,
We're running into an issue with the select lists. When we save our changes in the dialog box more than once, its getting saved as a list. I've messed around with it a bit, and when inspecting the elements, i noticed that a hidden field gets generated with the same name as the select list but with an @delete appended to the end. if I change the name with the @delete, then it saves the way it should. Any idea how to fix this or get around this @michaelhodgdon ?

Runtime error

I am integrating multicomposite-addon to our code for TouchUI, we are already using classic multicoposite filed from City Tech. After integrating baseName changes from your "develop" branch, I am getting error "Property 'baseName' not found on type com.citytechinc.aem.multicompositeaddon.Multicomposite".

Could you please guide me to get this resolved? I couldn't attach full error as it requires write permission for repository.

Regards,
Prahlad

Javascript error when use Date fields within a Multicomposite

I can create a page, and edit the properties including adding multicomposite components.
If I re-open the properties after saving/closing the dialog I can no longer add or remove multicomposites because of a javascript error in:
/etc/clientlibs/multicomposite-touchui/js/CUI.Multicompositefield.js
It fails on line 210 because currentName (assigned on line 208) is null for line 3 in the div below (<input class="coral-InputGroup-input coral-Textfield" type="text" value="2015-12-10T00:00:00.000-06:00">)
If I add a conditional around the block of code using currentName checking if it's not null, the field works as expected.
I'll create a pull request with that change.

//Here's an example of the full div for the date field inside a multicomposite
<div class="multicompositefield-field" data-content-path="./webinarsubproperties/item_#/startEventDateAndTime" data-parent-content-path="">
<div name="startEventDateAndTime" class="coral-InputGroup coral-DatePicker" data-init="datepicker" data-displayed-format="MM/DD/YYYY" data-stored-format="YYYY-MM-DD[T]HH:mm:ss.000Z" data-head-format="MMMM YYYY" data-month-names="["January","February","March","April","May","June","July","August","September","October","November","December"]" data-day-names="["Su","Mo","Tu","We","Th","Fr","Sa"]" data-storedformat="YYYY-MM-DD[T]HH:mm:ss.000Z" data-required="false" data-disabled="false">
<input class="coral-InputGroup-input coral-Textfield" type="text" value="2015-12-10T00:00:00.000-06:00">
<input type="hidden" name="startEventDateAndTime" value="2015-12-10T00:00:00.000-06:00">

    <div class="coral-InputGroup-button">
        <button class="coral-Button coral-Button--square" type="button" title="Date Picker">
            <i class="coral-Icon coral-Icon--sizeS coral-Icon--calendar"></i>
        </button>
    </div>
</div>
<input type="hidden" value="Date" name="startEventDateAndTime@TypeHint">                                

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.