Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion checkboxes to replace <select multiple>

Received: by 10.58.210.198 with SMTP id mw6mr1463420vec.22.1352402572952;
        Thu, 08 Nov 2012 11:22:52 -0800 (PST)
X-BeenThere: angular@googlegroups.com
Received: by 10.220.107.208 with SMTP id c16ls3840376vcp.3.gmail; Thu, 08 Nov
 2012 11:22:51 -0800 (PST)
Received: by 10.52.71.38 with SMTP id r6mr2011964vdu.12.1352402571515;
        Thu, 08 Nov 2012 11:22:51 -0800 (PST)
Date: Thu, 8 Nov 2012 11:22:51 -0800 (PST)
From: s.teunis...@gmail.com
To: angular@googlegroups.com
Cc: s.teunis...@gmail.com
Message-Id: <7000f3e3-f3a4-48be-8efa-de636fc233f1@googlegroups.com>
In-Reply-To: <234ad12e-24d2-4683-89a5-363f538e502e@googlegroups.com>
References: <234ad12e-24d2-4683-89a5-363f538e502e@googlegroups.com>
Subject: Re: checkboxes to replace <select multiple>
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_82_22684409.1352402571193"

------=_Part_82_22684409.1352402571193
Content-Type: multipart/alternative; 
	boundary="----=_Part_83_11421350.1352402571193"

------=_Part_83_11421350.1352402571193
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

Thanks all ! going to dig in ;-)

On Monday, November 5, 2012 3:44:08 PM UTC+1, s.teu...@gmail.com wrote:
>
> Hi all,
>
> I am looking for an alternative for the  <select multiple> element which I 
> think is not really user friendly.
> I am thinking of creating a directive which ng-repeats over a collection 
> (the selectables) and creates checkboxes for all of these.
> After this I bind to the change event and depending on true or false I add 
> or remove the checked element to or from the "selected" collection.
>
> But I feel there must be a better way. (Especially as I also want two way 
> binding of the "selected" collection).
>
> Anyone any suggestions?
>
> Sander.
>

------=_Part_83_11421350.1352402571193
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

Thanks all ! going to dig in ;-)<br><br>On Monday, November 5, 2012 3:44:08 PM UTC+1, s.teu...@gmail.com wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hi all,<br><br>I am looking for an alternative for the&nbsp; &lt;select multiple&gt; element which I think is not really user friendly.<br>I am thinking of creating a directive which ng-repeats over a collection (the selectables) and creates checkboxes for all of these.<br>After this I bind to the change event and depending on true or false I add or remove the checked element to or from the "selected" collection.<br><br>But I feel there must be a better way. (Especially as I also want two way binding of the "selected" collection).<br><br>Anyone any suggestions?<br><br>Sander.<br></blockquote>
------=_Part_83_11421350.1352402571193--

------=_Part_82_22684409.1352402571193--