mirror of
https://github.com/vatesfr/xen-orchestra.git
synced 2026-09-10 22:14:48 -05:00
fix(web-core): required disappear after clicking on VtsSelect (#10032)
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
:placeholder="searchPlaceholder"
|
||||
right-icon="fa:magnifying-glass"
|
||||
accent="brand"
|
||||
detached
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user