Skip to content

Commit

Permalink
refactor(gv-schema-form): replace gv-select by gv-select-native
Browse files Browse the repository at this point in the history
  • Loading branch information
gcusnieux committed Nov 6, 2021
1 parent 06d4eb9 commit 0f7f150
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/organisms/gv-schema-form-control.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { dispatchCustomEvent } from '../lib/events';
import '../atoms/gv-input';
import '../atoms/gv-input-message';
import '../atoms/gv-text';
import '../atoms/gv-select';
import '../atoms/gv-select-native';
import '../atoms/gv-switch';
import '../molecules/gv-code';
import '../molecules/gv-expression-language';
Expand Down Expand Up @@ -97,7 +97,7 @@ export class GvSchemaFormControl extends LitElement {
return 'gv-schema-form-control-object';
}
if ((this.control.enum || (this.control.items && this.control.items.enum)) && !this.isAutocomplete()) {
return 'gv-select';
return 'gv-select-native';
} else if (isComplexArray(this.control)) {
return 'gv-schema-form-array';
} else if (this.control.type === 'array') {
Expand Down Expand Up @@ -412,7 +412,7 @@ export class GvSchemaFormControl extends LitElement {
position: relative;
}
gv-select,
gv-select-native,
gv-input,
gv-code,
gv-switch,
Expand All @@ -421,7 +421,7 @@ export class GvSchemaFormControl extends LitElement {
margin: 0.2rem 0;
}
gv-select:hover,
gv-select-native:hover,
gv-autocomplete:hover {
z-index: 70;
}
Expand Down

0 comments on commit 0f7f150

Please sign in to comment.