montagejs/montage — pull request #1131 by lordbron (2013-02-15 20:36:13+00:00)
Title: Option element conversion to contentController objects now honor textPro...

...pertyPath and valuePropertyPaths, if available

select.reel honors the valuePropertyPath and textPropertyPath when converting a passed in contentController to
tags, but does not honor the reverse. If an
tag is present, it doesn't convert value and text values into corresponding valuePropertyPath and textPropertyPath properties on the generated objects.

This fixes that by using the valuePropertyPath ad textPropertyPath values when present and defaulting to "value" and "text" when they're not present.

Signed-off-by: Tom Ortega