From 1ec70dc775ca7e47b237d63564020d1bb7c23cb5 Mon Sep 17 00:00:00 2001 From: Guillaume Cusnieux Date: Fri, 5 Nov 2021 18:38:39 +0100 Subject: [PATCH] refactor(gv-schema-form): replace gv-select by gv-select-native gravitee-io/issues#6487 --- src/organisms/gv-schema-form-control.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/organisms/gv-schema-form-control.js b/src/organisms/gv-schema-form-control.js index 7d76d1a9a..c5e27099d 100644 --- a/src/organisms/gv-schema-form-control.js +++ b/src/organisms/gv-schema-form-control.js @@ -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'; @@ -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') { @@ -412,7 +412,7 @@ export class GvSchemaFormControl extends LitElement { position: relative; } - gv-select, + gv-select-native, gv-input, gv-code, gv-switch, @@ -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; }