@@ -156,9 +156,6 @@ export const Default = getStory({
156156
157157export const DefaultWithPlaceholder = getStory ( {
158158 "label" : "Label pour liste déroulante" ,
159- "nativeSelectProps" : {
160- "value" : ""
161- } ,
162159 "placeholder" : "Sélectionnez une option" ,
163160 "options" : defaultOptions
164161} ) ;
@@ -174,29 +171,20 @@ export const SuccessState = getStory({
174171 "label" : "Label pour liste déroulante" ,
175172 "state" : "success" ,
176173 "stateRelatedMessage" : "Texte de validation" ,
177- "nativeSelectProps" : {
178- "value" : "2"
179- } ,
180174 "placeholder" : "Sélectionnez une option" ,
181175 "options" : defaultOptions
182176} ) ;
183177
184178export const Disabled = getStory ( {
185179 "label" : "Label pour liste déroulante" ,
186180 "disabled" : true ,
187- "nativeSelectProps" : {
188- "value" : ""
189- } ,
190181 "placeholder" : "Sélectionnez une option" ,
191182 "options" : defaultOptions
192183} ) ;
193184
194185export const WithHint = getStory ( {
195186 "label" : "Label pour liste déroulante" ,
196187 "hint" : "Texte de description additionnel" ,
197- "nativeSelectProps" : {
198- "value" : ""
199- } ,
200188 "placeholder" : "Sélectionnez une option" ,
201189 "options" : defaultOptions
202190} ) ;
@@ -206,7 +194,14 @@ export const TypedSelect = getStory({
206194 "placeholder" : "Sélectionnez une option" ,
207195 "options" : optionsWithTypedValues ,
208196 "nativeSelectProps" : {
209- "defaultValue" : "dc9d15ee-7794-470e-9dcf-a8d1dd1a6fcf" ,
210- "value" : "dc9ee-7794-470e-9dcf-a8d1dd1a6fcf"
197+ "defaultValue" : "dc9d15ee-7794-470e-9dcf-a8d1dd1a6fcf"
211198 }
212199} ) ;
200+
201+ export const SelectWithCustomId = getStory ( {
202+ "label" : "Label pour liste déroulante" ,
203+ "nativeSelectProps" : {
204+ id : "my-unique-id"
205+ } ,
206+ "options" : defaultOptions
207+ } ) ;
0 commit comments