Skip to content

Change obeserver not called if controller name contains uppercase characters #680

@RBastianini

Description

@RBastianini

I have encountered this behaviour that I believe to be a bug, where if a controller name contains an uppercase letter, value change callbacks are never fired.

Everything behaves as expected after converting the controller name to lowercase.

Please see this codepen for a demonstration: if you click the button, the text on the page does not change, however, if you rename the controller from Test to test (there are 4 occurrences in the html and 1 occurrence in the javascript) the text on the page changes after clicking the button. Tested on Firefox and Chrome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions