Skip to content

Commit e2ac232

Browse files
authored
feat: Adds missing TextField props (#88)
1 parent 616b798 commit e2ac232

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

scripts/generateWrappers/consts.js

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ const ComponentsEventsMapV3 = {
9494
VwcMenuItem: ['change'],
9595
VwcNumberField: ['change', 'input'],
9696
VwcTextArea: ['input'],
97-
VwcTextField: ['input'],
97+
VwcTextField: ['blur', 'change', 'focus', 'input'],
9898
VwcCheckbox: ['change'],
9999
VwcCombobox: ['change'],
100100
VwcDatePicker: ['change', 'input']
@@ -212,6 +212,30 @@ const Vivid3ComponentsExtraPropertiesMap = {
212212
{
213213
name: 'onInput',
214214
type: { text: 'any' }
215+
},
216+
{
217+
name: 'charCount',
218+
type: { text: 'number | undefined' }
219+
},
220+
{
221+
name: 'disabled',
222+
type: { text: 'boolean | undefined' }
223+
},
224+
{
225+
name: 'errorText',
226+
type: { text: 'string | undefined' }
227+
},
228+
{
229+
name: 'helperText',
230+
type: { text: 'string | undefined' }
231+
},
232+
{
233+
name: 'required',
234+
type: { text: 'boolean | undefined' }
235+
},
236+
{
237+
name: 'successText',
238+
type: { text: 'string | undefined' }
215239
}
216240
],
217241
Checkbox: [

0 commit comments

Comments
 (0)