Skip to content
Snippets Groups Projects

feat(GlFormInut, GlFormSelect, GlDatepicker): Add prop width, deprecate prop size

Merged Sascha Eggenberger requested to merge form-input-select-replace-size-prop-with-width into main
All threads resolved!
Files
3
@@ -242,7 +242,7 @@ export default {
@@ -242,7 +242,7 @@ export default {
},
},
computedWidth() {
computedWidth() {
if (this.width) {
if (this.width) {
return datepickerWidthOptionsMap[this.width];
return this.width;
// eslint-disable-next-line no-else-return
// eslint-disable-next-line no-else-return
} else if (this.size) {
} else if (this.size) {
return datepickerSizeOptionsMap[this.size];
return datepickerSizeOptionsMap[this.size];
Loading