mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-22 17:47:11 +03:00
omit more matches for the fall-through text component
This commit is contained in:
parent
e1350207cc
commit
6e869f24b3
8
js/src/bootstrapMaterialDesign.js
vendored
8
js/src/bootstrapMaterialDesign.js
vendored
|
@ -55,9 +55,6 @@ const BootstrapMaterialDesign = (($) => {
|
||||||
file: {
|
file: {
|
||||||
selector: 'input[type=file]'
|
selector: 'input[type=file]'
|
||||||
},
|
},
|
||||||
//layout: {
|
|
||||||
// selector: '.mdb-layout-container'
|
|
||||||
//},
|
|
||||||
radio: {
|
radio: {
|
||||||
selector: '.radio > label > input[type=radio]'
|
selector: '.radio > label > input[type=radio]'
|
||||||
},
|
},
|
||||||
|
@ -83,8 +80,8 @@ const BootstrapMaterialDesign = (($) => {
|
||||||
selector: '.switch > label > input[type=checkbox]'
|
selector: '.switch > label > input[type=checkbox]'
|
||||||
},
|
},
|
||||||
text: {
|
text: {
|
||||||
// omit inputs we have specialized components to handle
|
// omit inputs we have specialized components to handle - we need to match text, email, etc. The easiest way to do this appears to be just omit the ones we don't want to match and let the rest fall through to this.
|
||||||
selector: [`input[type!='hidden'][type!='checkbox'][type!='radio'][type!='file']`]
|
selector: [`input[type!='hidden'][type!='checkbox'][type!='radio'][type!='file'][type!='button'][type!='submit'][type!='reset']`]
|
||||||
},
|
},
|
||||||
textarea: {
|
textarea: {
|
||||||
selector: ['textarea']
|
selector: ['textarea']
|
||||||
|
@ -96,7 +93,6 @@ const BootstrapMaterialDesign = (($) => {
|
||||||
'checkbox',
|
'checkbox',
|
||||||
'checkboxInline',
|
'checkboxInline',
|
||||||
'collapseInline',
|
'collapseInline',
|
||||||
//'layout',
|
|
||||||
'drawer',
|
'drawer',
|
||||||
'file',
|
'file',
|
||||||
'radio',
|
'radio',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user