fix(web-core): required disappear after clicking on VtsSelect (#10032)

This commit is contained in:
Mathieu
2026-06-29 14:04:20 +02:00
committed by GitHub
parent 276c4e5f7e
commit 4fe505b229
3 changed files with 5 additions and 1 deletions

View File

@@ -24,6 +24,7 @@
:placeholder="searchPlaceholder"
right-icon="fa:magnifying-glass"
accent="brand"
detached
/>
</div>
</template>

View File

@@ -52,12 +52,14 @@ const {
required,
disabled,
id,
detached,
} = defineProps<{
accent: InputAccent
id?: string
required?: boolean
disabled?: boolean
readonly?: boolean
detached?: boolean
type?: InputType
icon?: IconName
rightIcon?: IconName
@@ -82,7 +84,7 @@ const attrs = useAttrs()
const inputRef = ref<HTMLInputElement>()
const wrapperController = inject(IK_INPUT_WRAPPER_CONTROLLER, undefined)
const wrapperController = detached ? undefined : inject(IK_INPUT_WRAPPER_CONTROLLER, undefined)
const accent = useMapper<LabelAccent, InputAccent>(
() => wrapperController?.labelAccent,

View File

@@ -38,6 +38,7 @@
- [XO-Server] Log a xo-server waiting for a soft stop in background (PR [#9994](https://github.com/vatesfr/xen-orchestra/pull/9994))
- [Backup-repository] Properly unmount and cut connection on stop/disconnect/forget (PR [#9994](https://github.com/vatesfr/xen-orchestra/pull/9994))
- [xo-proxy] Fix invalid parameters error message in listVmBackups (XS update for example) (PR [#10035](https://github.com/vatesfr/xen-orchestra/pull/10035))
- [Web-core] Fix the required asterisk disappeared as soon as the dropdown was opened (PR [#10032](https://github.com/vatesfr/xen-orchestra/pull/10032))
### Packages to release