Commit Graph

5 Commits

Author SHA1 Message Date
Dominik Csapak
c33f087874 skip config property for cbind mixin
if we use a component with cbind in a static declaration,
we do not want to traverse the 'config' property, as this can lead
to properties of base classes which produce errors on copying

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-02-22 10:14:58 +01:00
Thomas Lamprecht
c6f1ab1bd7 mixin/CBind: allow binding sub elements
allow to access sub elements of configuration items for binding.

E.g., if the following configuration is present:

foo: {
    bar: true
}

one could do:

xtype: 'displayfield',
cbind {
    value: '{foo.bar}'
}
[...]

This mirrors the abillity of ExtJS's 'bind', which can do this also.
Simple implementation mirroring the surrounding code.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-02-09 10:13:34 +01:00
Dietmar Maurer
7d9225e651 CBind.js: fix cloneTemplateArray 2017-03-31 12:35:39 +02:00
Dietmar Maurer
fbdf4ca751 CBind.js: ignore case in regex 2017-03-31 12:26:33 +02:00
Dietmar Maurer
281ad45b5d add experimental CBind mixin 2017-03-31 11:26:55 +02:00