angucomplete-alt icon indicating copy to clipboard operation
angucomplete-alt copied to clipboard

enhancing the angucomplete-alt by allowing originalObject to be used as the selectedObject.

Open zouhenry opened this issue 9 years ago • 3 comments

By default, when a object is selected, the scope.selectedObject is set to the angucomplete wrapper. The original object is nested in selectedObject.originalObject. This PR allows the originalObject to be used as the value when "useOriginalObject" scope parameter is passed in as 'true'.

This removes the need to create custom selectedObject functions to extract the originalObject and sets it in the scope.

zouhenry avatar Oct 23 '15 14:10 zouhenry

+1

sdvcrx avatar Dec 02 '15 03:12 sdvcrx

+1

mbilbille avatar Jan 24 '16 11:01 mbilbille

+1

angel-r avatar Aug 04 '17 23:08 angel-r