Skip to content

Adding read-only mode where user cannot pick a date#119

Open
JayHuang wants to merge 1 commit intoadamalbrecht:masterfrom
JayHuang:readonly
Open

Adding read-only mode where user cannot pick a date#119
JayHuang wants to merge 1 commit intoadamalbrecht:masterfrom
JayHuang:readonly

Conversation

@JayHuang
Copy link
Copy Markdown

@JayHuang JayHuang commented Apr 9, 2016

Note: This is a re-create of #69 as that fork has been deleted. Also worth noting that ngQuickDate seems to be failing 8 tests, but that's already the case on master, not due to these changes.

Adding read-only option: read-only="true"

This makes the directive not trigger the popup, preventing the user from selecting a date.

See bottom form, data updates according to the model using $watch, but user cannot manually edit End Date.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant