Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

ui-select2 set dirty flag after initialization when simple_tags mode is on #66

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

ui-select2 set dirty flag after initialization when simple_tags mode is on #66

wants to merge 1 commit into from

Conversation

isavchenko
Copy link

Hi guys!

In my project I use simple_tags option. But after the form containing select2 control is loaded, $pristine flag of select2 control and parent form is set to false and $dirty flag is set to true, which seems to be not correct. Here is plnkr for the issue: http://plnkr.co/edit/TjUscmd0vrMzEqOBURTe?p=preview. I found the way to fix it but I would like someone to review my changes and maybe give me advice how to do it better.

Thanks

@cboden
Copy link

cboden commented Aug 29, 2013

+1

1 similar comment
@JonnyBGod
Copy link

+1

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.

3 participants