Skip to content

Commit

Permalink
fix(SUPX-244): add missing properties to checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
dvelluto committed Jul 31, 2024
1 parent 17b40c2 commit 4bce0a3
Showing 1 changed file with 26 additions and 6 deletions.
32 changes: 26 additions & 6 deletions scripts/generateWrappers/consts.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const ComponentsEventsMapV3 = {
VwcTextField: ['input'],
VwcCheckbox: ['change'],
VwcCombobox: ['change'],
VwcDatePicker: ['change', 'input'],
VwcDatePicker: ['change', 'input']
}

const ComponentsReadOnlyPropertiesMap = {
Expand Down Expand Up @@ -174,8 +174,8 @@ const ComponentsBindablePropertiesMap = {
const ComponentsExtraPropertiesMap = {
VwcIconButton: [
{
'name': 'value',
'type': 'string'
name: 'value',
type: 'string'
}
]
}
Expand Down Expand Up @@ -204,13 +204,33 @@ const Vivid3ComponentsExtraPropertiesMap = {
}
],
Checkbox: [
{
name: 'onClick',
type: { text: 'any' }
},
{
name: 'label',
type: { text: 'string | undefined' }
},
{
name: 'value',
type: { text: 'string | undefined' }
},
{
name: 'checked',
type: { text: 'boolean' }
type: { text: 'boolean | undefined' }
},
{
name: 'onClick',
type: { text: 'any' }
name: 'indeterminate',
type: { text: 'boolean | undefined' }
},
{
name: 'disabled',
type: { text: 'boolean | undefined' }
},
{
name: 'readonly',
type: { text: 'boolean | undefined' }
}
],
Button: [
Expand Down

0 comments on commit 4bce0a3

Please sign in to comment.