MazChecklist
MazChecklist is a standalone component that allows creating a checklist with integrated search functionality. It provides a flexible and customizable user interface for selecting multiple items from a list of options. The component supports real-time search, color customization, and displays messages when no results are found.
INFO
Before you have to import the global css files in your project, follow instructions in Getting Started
Basic usage
Selected languages: none
query value: none
Abkhazianab
Avestanae
Afrikaansaf
Akanak
Amharicam
Aragonesean
Arabicar
Assameseas
Avaricav
Aymaraay
Azerbaijaniaz
Bashkirba
Belarusianbe
Bulgarianbg
Bhojpuribh
Bislamabi
Bambarabm
Banglabn
Tibetanbo
Bretonbr
Bosnianbs
Catalanca
Chechence
Chamorroch
Corsicanco
Creecr
Czechcs
Church Slaviccu
Chuvashcv
Welshcy
Danishda
Germande
Divehidv
Dzongkhadz
Eweee
Greekel
Englishen
Esperantoeo
Spanishes
Estonianet
Basqueeu
Persianfa
Fulaff
Finnishfi
Fijianfj
Faroesefo
Frenchfr
Western Frisianfy
Irishga
Scottish Gaelicgd
Galiciangl
Guaranign
Gujaratigu
Manxgv
Hausaha
Hebrewhe
Hindihi
Hiri Motuho
Croatianhr
Haitian Creoleht
Hungarianhu
Armenianhy
Hererohz
Interlinguaia
Indonesianid
Interlingueie
Igboig
Sichuan Yiii
Inupiaqik
Idoio
Icelandicis
Italianit
Inuktitutiu
Japaneseja
Javanesejv
Georgianka
Kongokg
Kikuyuki
Kuanyamakj
Kazakhkk
Kalaallisutkl
Khmerkm
Kannadakn
Koreanko
Kanurikr
Kashmiriks
Kurdishku
Komikv
Cornishkw
Kyrgyzky
Latinla
Luxembourgishlb
Gandalg
Limburgishli
Lingalaln
Laolo
Lithuanianlt
Luba-Katangalu
Latvianlv
Malagasymg
Marshallesemh
Māorimi
Macedonianmk
Malayalamml
Mongolianmn
Marathimr
Malayms
Maltesemt
Burmesemy
Nauruna
Norwegian Bokmålnb
North Ndebelend
Nepaline
Ndongang
Dutchnl
Norwegian Nynorsknn
Norwegianno
South Ndebelenr
Navajonv
Nyanjany
Occitanoc
Ojibwaoj
Oromoom
Odiaor
Osseticos
Punjabipa
Palipi
Polishpl
Pashtops
Portuguesept
Quechuaqu
Romanshrm
Rundirn
Romanianro
Russianru
Kinyarwandarw
Sanskritsa
Sardiniansc
Sindhisd
Northern Samise
Sangosg
Sinhalasi
Slovaksk
Sloveniansl
Samoansm
Shonasn
Somaliso
Albaniansq
Serbiansr
Swatiss
Southern Sothost
Sundanesesu
Swedishsv
Swahilisw
Tamilta
Telugute
Tajiktg
Thaith
Tigrinyati
Turkmentk
Filipinotl
Tswanatn
Tonganto
Turkishtr
Tsongats
Tatartt
Akantw
Tahitianty
Uyghurug
Ukrainianuk
Urduur
Uzbekuz
Vendave
Vietnamesevi
Volapükvo
Walloonwa
Wolofwo
Xhosaxh
Yiddishyi
Yorubayo
Zhuangza
Chinesezh
Zuluzu
Afrikaans (South Africa)af-ZA
Albanian (Albania)sq-AL
Arabic (Algeria)ar-DZ
Arabic (Bahrain)ar-BH
Arabic (Egypt)ar-EG
Arabic (Iraq)ar-IQ
Arabic (Jordan)ar-JO
Arabic (Kuwait)ar-KW
Arabic (Lebanon)ar-LB
Arabic (Libya)ar-LY
Arabic (Morocco)ar-MA
Arabic (Oman)ar-OM
Arabic (Qatar)ar-QA
Arabic (Saudi Arabia)ar-SA
Arabic (Syria)ar-SY
Arabic (Tunisia)ar-TN
Arabic (United Arab Emirates)ar-AE
Arabic (Yemen)ar-YE
Armenian (Armenia)hy-AM
Basque (Spain)eu-ES
Belarusian (Belarus)be-BY
Bulgarian (Bulgaria)bg-BG
Catalan (Spain)ca-ES
Chinese (China)zh-CN
Chinese (Hong Kong SAR China)zh-HK
Chinese (Macao SAR China)zh-MO
Chinese (Singapore)zh-SG
Chinese (Taiwan)zh-TW
chszh-CHS
chtzh-CHT
Croatian (Croatia)hr-HR
Czech (Czechia)cs-CZ
Danish (Denmark)da-DK
Divehi (Maldives)div-MV
Flemishnl-BE
Dutch (Netherlands)nl-NL
Australian Englishen-AU
English (Belize)en-BZ
Canadian Englishen-CA
English (CB)en-CB
English (Ireland)en-IE
English (Jamaica)en-JM
English (New Zealand)en-NZ
English (Philippines)en-PH
English (South Africa)en-ZA
English (Trinidad & Tobago)en-TT
British Englishen-GB
American Englishen-US
English (Zimbabwe)en-ZW
Estonian (Estonia)et-EE
Faroese (Faroe Islands)fo-FO
Persian (Iran)fa-IR
Finnish (Finland)fi-FI
French (Belgium)fr-BE
Canadian Frenchfr-CA
French (France)fr-FR
French (Luxembourg)fr-LU
French (Monaco)fr-MC
Swiss Frenchfr-CH
Galician (Spain)gl-ES
Georgian (Georgia)ka-GE
Austrian Germande-AT
German (Germany)de-DE
German (Liechtenstein)de-LI
German (Luxembourg)de-LU
Swiss High Germande-CH
Greek (Greece)el-GR
Gujarati (India)gu-IN
Hebrew (Israel)he-IL
Hindi (India)hi-IN
Hungarian (Hungary)hu-HU
Icelandic (Iceland)is-IS
Indonesian (Indonesia)id-ID
Italian (Italy)it-IT
Italian (Switzerland)it-CH
Japanese (Japan)ja-JP
Kannada (India)kn-IN
Kazakh (Kazakhstan)kk-KZ
Konkani (India)kok-IN
Korean (South Korea)ko-KR
Kyrgyz (Kazakhstan)ky-KZ
Latvian (Latvia)lv-LV
Lithuanian (Lithuania)lt-LT
Macedonian (North Macedonia)mk-MK
Malay (Brunei)ms-BN
Malay (Malaysia)ms-MY
Marathi (India)mr-IN
Mongolian (Mongolia)mn-MN
Norwegian Bokmål (Norway)nb-NO
Norwegian Nynorsk (Norway)nn-NO
Polish (Poland)pl-PL
Brazilian Portuguesept-BR
European Portuguesept-PT
Punjabi (India)pa-IN
Romanian (Romania)ro-RO
Russian (Russia)ru-RU
Sanskrit (India)sa-IN
Slovak (Slovakia)sk-SK
Slovenian (Slovenia)sl-SI
Spanish (Argentina)es-AR
Spanish (Bolivia)es-BO
Spanish (Chile)es-CL
Spanish (Colombia)es-CO
Spanish (Costa Rica)es-CR
Spanish (Dominican Republic)es-DO
Spanish (Ecuador)es-EC
Spanish (El Salvador)es-SV
Spanish (Guatemala)es-GT
Spanish (Honduras)es-HN
Mexican Spanishes-MX
Spanish (Nicaragua)es-NI
Spanish (Panama)es-PA
Spanish (Paraguay)es-PY
Spanish (Peru)es-PE
Spanish (Puerto Rico)es-PR
European Spanishes-ES
Spanish (Uruguay)es-UY
Spanish (Venezuela)es-VE
Swahili (Kenya)sw-KE
Swedish (Finland)sv-FI
Swedish (Sweden)sv-SE
Syriac (Syria)syr-SY
Tamil (India)ta-IN
Tatar (Russia)tt-RU
Telugu (India)te-IN
Thai (Thailand)th-TH
Turkish (Türkiye)tr-TR
Ukrainian (Ukraine)uk-UA
Urdu (Pakistan)ur-PK
Vietnamese (Vietnam)vi-VN
Custom search function
You can replace the default search function by providing a custom search function.
Props, Event & Slots
Props
Prop name | Description | Type | Values | Default |
---|---|---|---|---|
modelValue | The model value of the checklist (selected items) | Array | - | undefined |
query | The query to filter the items (model) | string | - | undefined |
items | The list of items to display | Array | - | undefined |
title | The title of the checklist | string | - | undefined |
elevation | Add elevation to the card@default false | boolean | - | false |
search | The search input options@default | intersection | - | () => ({ enabled: false, }) |
searchOptions | The options to normalize the search query (used by the default search function) | NormalizeStringOptions | - | |
searchFunction | Replace the default search function to provide a custom search function@default undefined | TSFunctionType | - | |
color | The color of the checklist (card, checkbox and search input)@default primary | Color | - | 'primary' |
Events
Event name | Properties | Description |
---|---|---|
update:query | value mixed - The new query | Emitted when the query change |
update:model-value | value mixed - The new value | Emitted when the model value change |
Slots
Name | Description | Bindings |
---|---|---|
title | use this slot to customize the title | |
no-results | use this slot to customize the no results area | |
no-results-text | use this slot to customize the no results message | |
item | use this slot to customize the item |