chore(Checkbox/Switch): change model binding (#58)

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
Romain Hamel
2024-04-15 13:37:18 +02:00
committed by GitHub
parent 2fe91f3847
commit 84847965af
15 changed files with 903 additions and 565 deletions

View File

@@ -6,6 +6,7 @@ import ComponentRender from '../component-render'
describe('Input', () => {
it.each([
['basic case', {}],
['with id', { props: { name: 'id' } }],
['with name', { props: { name: 'username' } }],
['with type', { props: { type: 'password' } }],
['with placeholder', { props: { placeholder: 'Enter your username' } }],