CamelCase problem with binding


#1

Hi all

I would like to use a camelcase binding:

<phasen-add anlassIdBind="phasenList.anlassIdBind._id" bla="42" blaBli="23"></phasen-add>

but the only way I get the data inside the module is with bla:

    bindings:{
        anlassIdBind: '<',
        'anlass-id-bind': '<',
        'anlass_id_bind': '<',
        'anlass_Id_Bind': '<',
        'bla': '<',
        'blaBli': '<',
        'bla_bli': '<',
        'bla_Bli': '<',
        'bla-bli': '<',
        'bla-Bli': '<',
    },

Can anyone help me?

Regards


#2

Solved it like this:

<phasen-add anlass-id-bind="phasenList.anlassIdBind._id" bla="42" bla-bli="23"></phasen-add>

and in JS

    bindings:{
        anlassIdBind: '<', // from anlass-id-bind
        'bla': '<', // Works
        'blaBli': '<', // from bla-bli
    },