akveo / akveo/ngx-admin

Smart Table Dropdown not Listing Title

Open
#5,668 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
25.7k
Forks
7.9k
PR merge metrics
No merged PRs in 30d

Description

### Issue type

**I'm submitting a ...** (check one with "x")

* [x] bug report
* [ ] feature request
* [ ] question about the decisions made in the repository

### Issue description

**Current behavior:**
While trying to attatch dropdown in smart table the value of the dropdown is shown in listing (while clicking edit and adding new its proper)

**Expected behavior:**
The dropdown should be showing title(value is just for internal purpose)

**Steps to reproduce:**
In a smart Table add following code and you can see as from service value comes as 1,2.etc and it is shown in the listiing rather than the title.
Im attatching a screenshot illustrationg the issue
![Screenshot from 2020-04-24 01-45-14](https://user-images.githubusercontent.com/38686094/80145687-352b2a80-85ce-11ea-907e-a057fb3326de.png)

**Related code:**

```
type: {
title: 'type',
type: 'html',
editor: {
type: 'list',
config: {
list: [{title: 'Entry & Exit', value: '1'}, {title: 'Entry Only', value: '2'} , {title: 'Exit Only', value: '3'}]
}
},
},
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.