File tree Expand file tree Collapse file tree 4 files changed +11
-3
lines changed
Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " vue-tel-input" ,
3- "version" : " 9.5.0 " ,
3+ "version" : " 9.5.1 " ,
44 "description" : " International Telephone Input with Vue" ,
55 "author" : " Steven Dao <iamstevendao@gmail.com>" ,
66 "license" : " MIT" ,
5757 " input" ,
5858 " international phone"
5959 ]
60- }
60+ }
Original file line number Diff line number Diff line change 22 <div ref =" refRoot"
33 :class =" ['vue-tel-input', styleClasses, { disabled }]" >
44 <div v-click-outside =" clickedOutside"
5- aria-label =" Country Code Selector "
5+ : aria-label =" dropdownOptions.ariaLabel "
66 aria-haspopup =" listbox"
77 :aria-expanded =" data.open"
88 role =" button"
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ export type PhoneMeta = {
2626} ;
2727
2828export interface DropdownOptions {
29+ ariaLabel ?: string
2930 disabled ?: boolean
3031 showDialCodeInList ?: boolean
3132 showDialCodeInSelection ?: boolean
Original file line number Diff line number Diff line change @@ -80,6 +80,13 @@ export const allProps = [
8080 description : 'Options for dropdown, see below' ,
8181 inDemo : false ,
8282 } ,
83+ {
84+ name : 'dropdownOptions.ariaLabel' ,
85+ default : 'Country Code Selector' ,
86+ type : String ,
87+ description : 'Aria label for the country code selector dropdown' ,
88+ inDemo : false ,
89+ } ,
8390 {
8491 name : 'dropdownOptions.disabled' ,
8592 default : false ,
You can’t perform that action at this time.
0 commit comments