We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d9d604 commit 6586970Copy full SHA for 6586970
src/npm-fastui-bootstrap/src/index.tsx
@@ -84,15 +84,14 @@ export const classNameGenerator: ClassNameGenerator = ({
84
switch (subElement) {
85
case 'textarea':
86
case 'input':
87
+ case 'select-react':
88
return {
- 'form-control': type !== 'FormFieldBoolean',
89
+ 'form-control': !['FormFieldBoolean', 'FormFieldSelect'].includes(type),
90
'is-invalid': props.error != null,
91
'form-check-input': type === 'FormFieldBoolean',
92
}
93
case 'select':
94
return 'form-select'
- case 'select-react':
95
- return ''
96
case 'label':
97
if (props.displayMode === 'inline') {
98
return 'visually-hidden'
0 commit comments