Skip to content

Commit 929a7ea

Browse files
committed
form.field.ComboBox: add a default width #6914
1 parent a08722a commit 929a7ea

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/form/field/ComboBox.mjs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,12 @@ class ComboBox extends Picker {
118118
* which you want to submit instead
119119
* @member {Number|String} valueField='id'
120120
*/
121-
valueField: 'id'
121+
valueField: 'id',
122+
/**
123+
* Default width to prevent rendering issues.
124+
* @member {Number} width=150
125+
*/
126+
width: 150
122127
}
123128

124129
/**

0 commit comments

Comments
 (0)