@@ -234,55 +234,41 @@ Description.args = {
234
234
export const HTML5Select = Template . bind ( { } ) ;
235
235
HTML5Select . args = {
236
236
label : 'Good old HTML5' ,
237
- onChangeTraditional : onTestOptionChange ,
238
237
options : smallOptionsList ,
239
238
traditionalHTML5 : true ,
240
239
validation : { required : true } ,
241
240
} ;
242
241
243
- export const HTML5ValueBinded = Template . bind ( { } ) ;
244
- HTML5Select . args = {
245
- label : 'Good old HTML5' ,
246
- onChangeTraditional : onTestOptionChange ,
247
- options : smallOptionsList ,
248
- traditionalHTML5 : true ,
249
- validation : { required : true } ,
250
- value : 'dapp' ,
251
- } ;
252
-
253
- export const HTML5DescriptionAndPlaceholder = Template . bind ( { } ) ;
254
- HTML5DescriptionAndPlaceholder . args = {
255
- description : 'Much Needed' ,
242
+ export const HTML5SelectValue = Template . bind ( { } ) ;
243
+ HTML5SelectValue . args = {
256
244
label : 'Good old HTML5' ,
257
- placeholder : 'Select' ,
258
- onChangeTraditional : onTestOptionChange ,
259
- options : smallOptionsList ,
245
+ options : testOptionsHTML5 ,
260
246
traditionalHTML5 : true ,
261
- validation : { required : true } ,
247
+ value : testOptionsHTML5 [ 1 ] ?. label ,
262
248
} ;
263
249
264
250
export const HTML5SelectDefault = Template . bind ( { } ) ;
265
251
HTML5SelectDefault . args = {
266
252
label : 'Good old HTML5' ,
267
- onChangeTraditional : onTestOptionChange ,
268
253
options : testOptionsHTML5 ,
269
254
traditionalHTML5 : true ,
270
255
defaultOptionIndex : 0 ,
271
256
} ;
272
257
273
- export const HTML5SelectValue = Template . bind ( { } ) ;
274
- HTML5SelectValue . args = {
258
+ export const HTML5DescriptionAndPlaceholder = Template . bind ( { } ) ;
259
+ HTML5DescriptionAndPlaceholder . args = {
260
+ description : 'Much Needed' ,
275
261
label : 'Good old HTML5' ,
276
- onChangeTraditional : onTestOptionChange ,
277
- options : testOptionsHTML5 ,
262
+ placeholder : 'Select' ,
263
+ options : smallOptionsList ,
278
264
traditionalHTML5 : true ,
279
- value : testOptionsHTML5 [ 1 ] ?. label ,
265
+ validation : { required : true } ,
280
266
} ;
281
267
282
268
export const HTML5SelectDisabled = Template . bind ( { } ) ;
283
269
HTML5SelectDisabled . args = {
270
+ disabled : true ,
284
271
label : 'Good old HTML5' ,
285
- onChangeTraditional : onTestOptionChange ,
286
272
options : testDisabledOptions ,
287
273
placeholder : 'Title 1' ,
288
274
traditionalHTML5 : true ,
0 commit comments