mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-01 12:47:57 +01:00
feat(SelectMenu): add inputTargetForm prop to handle input validation (#3107)
This commit is contained in:
@@ -16,6 +16,7 @@
|
|||||||
:value="modelValue"
|
:value="modelValue"
|
||||||
:required="required"
|
:required="required"
|
||||||
:class="uiMenu.required"
|
:class="uiMenu.required"
|
||||||
|
:form="inputTargetForm"
|
||||||
tabindex="-1"
|
tabindex="-1"
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
>
|
>
|
||||||
@@ -314,6 +315,10 @@ export default defineComponent({
|
|||||||
type: Array,
|
type: Array,
|
||||||
default: null
|
default: null
|
||||||
},
|
},
|
||||||
|
inputTargetForm: {
|
||||||
|
type: String,
|
||||||
|
default: null
|
||||||
|
},
|
||||||
popper: {
|
popper: {
|
||||||
type: Object as PropType<PopperOptions>,
|
type: Object as PropType<PopperOptions>,
|
||||||
default: () => ({})
|
default: () => ({})
|
||||||
|
|||||||
Reference in New Issue
Block a user