akveo / akveo/ng2-smart-table

width property has no effect when using completer

Open
#391 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.6k
Forks
867
PR merge metrics
No merged PRs in 30d

Description

Hi,
I have the following
@typescript

```
const medication_settings: Object = {
columns: {
medication: {
title: 'Medication *', filter: false,
editor: {
type: 'completer',
config: {
completer: {
data: medications,
searchFields: 'medication',
titleField: 'medication',
}
}
},
width: '75px',
},

strength: {
title: 'Strength *', filter: false, width: '100px',
editor: {
type: 'completer',
config: {
completer: {
data: medications,
searchFields: 'strength',
titleField: 'strength',
}
}
}
},}
```
Neither width property has any effect on the width of the input field; the default field length cannot change. Is this the expected behaviour for completer? The width does work when completer is not used.

Cheers

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.