Skip to content
This repository was archived by the owner on Jun 6, 2025. It is now read-only.

Fix to allow Angular expressions in readonly property - #71

Open
nightullr wants to merge 1 commit into
lemonde:masterfrom
nightullr:readonly-fix
Open

Fix to allow Angular expressions in readonly property#71
nightullr wants to merge 1 commit into
lemonde:masterfrom
nightullr:readonly-fix

Conversation

@nightullr

@nightullr nightullr commented Jun 8, 2017

Copy link
Copy Markdown

This directive currently has a readonly attribute you can set with an interpolated expression, but it is evaluated as a string value in the directive which ends up always being truthy in the 'setReadOnly()' function. I changed it to use $parse.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant