Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
Can some one advise what AngulerJS needs to be created to use dropdownFlexible.
I been playing with this with an Array and it seems to work, but when I try and use a key Value Pare it not working.
Here my Javascript:
$scope.buildData = function () { var newItems = []; newItems.push({ key:1, value:"One" }); newItems.push({ key:2, value:"Two" }); newItems.push({ key:3, value:"Three" });
console.log("Build Data:", newItems); return newItems; } $scope.locationName = { value: $scope.dropdwonvaluea, view: "dropdownFlexible", config: { items: $scope.buildData(), multiple:false } };
I need the drop down to have ID=1 Title = One ID=2 Title = Two Ect
Thanks Darren
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
dropdownFlexible Config Values
Hi,
Can some one advise what AngulerJS needs to be created to use dropdownFlexible.
I been playing with this with an Array and it seems to work, but when I try and use a key Value Pare it not working.
Here my Javascript:
$scope.buildData = function () { var newItems = []; newItems.push({ key:1, value:"One" }); newItems.push({ key:2, value:"Two" }); newItems.push({ key:3, value:"Three" });
I need the drop down to have ID=1 Title = One ID=2 Title = Two Ect
Thanks Darren
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.