diff --git a/src/picker/PickerColumn.js b/src/picker/PickerColumn.js
index 0467a1950..5e36c1a8b 100644
--- a/src/picker/PickerColumn.js
+++ b/src/picker/PickerColumn.js
@@ -305,7 +305,7 @@ export default createComponent({
return (
Custom title
diff --git a/src/picker/test/index.spec.js b/src/picker/test/index.spec.js
index 46606c748..9d9d97fb2 100644
--- a/src/picker/test/index.spec.js
+++ b/src/picker/test/index.spec.js
@@ -160,6 +160,38 @@ test('render confirm/cancel slot', () => {
expect(wrapper).toMatchSnapshot();
});
+test('render option slot with simple columns', () => {
+ const wrapper = mount({
+ template: `
+
+ {{ item }}
+
+ `,
+ data() {
+ return { columns: ['foo', 'bar'] };
+ },
+ });
+
+ expect(wrapper).toMatchSnapshot();
+});
+
+test('render option slot with object columns', () => {
+ const wrapper = mount({
+ template: `
+
+ {{ item.text }}
+
+ `,
+ data() {
+ return {
+ columns: [{ text: 'foo' }, { text: 'bar' }],
+ };
+ },
+ });
+
+ expect(wrapper).toMatchSnapshot();
+});
+
test('simulation finger swipe again before transitionend', () => {
// mock getComputedStyle
// see: https://github.com/jsdom/jsdom/issues/2588