feat(Picker): add allow-html prop (#4278)
This commit is contained in:
@@ -195,3 +195,14 @@ test('toolbar-position prop', () => {
|
||||
|
||||
expect(wrapper).toMatchSnapshot();
|
||||
});
|
||||
|
||||
test('not allow html', () => {
|
||||
const wrapper = mount(Picker, {
|
||||
propsData: {
|
||||
allowHtml: false,
|
||||
columns: ['<div>option</div>']
|
||||
}
|
||||
});
|
||||
|
||||
expect(wrapper).toMatchSnapshot();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user