Open antonmoiseev opened 10 years ago
Just discovered, bind-
also doesn't work if the attribute's value is an expression which refers to a controller's property which has camel case name. Example:
@Controller(/*..*/)
class MyController {
Quote quote;
}
class Quote {
String carrierName;
}
<my-component bind-carrier="ctrl.quote.carrierName"></my-component>
However, everything works for lowercase properties:
class Quote {
String carriername;
}
<my-component bind-carrier="ctrl.quote.carriername"></my-component>
I have an attribute defined in my component class:
New
bind-
syntax doesn't allow me to bind a value this way:However it works perfectly fine this way: