Closed AmeerIT closed 4 years ago
Hello i have solved the solution by mapping the Enum to Array
mapEnumToArray() { this.venutTypes = []; for (var n in BusinessCategory) { this.venutTypes.push({ name: BusinessCategory[n], value: n }) } }
and set the text and value fields inside the ionic-selectable itself to display the name and value in that order
itemTextField="name" itemValueField="value"
i tried using Object.keys to enumerate some enum keys, but it only displayed No items found. does the plugin support enum? or have plans to support enums?