Missing required prop: “display”

Forums Vue 3 Migration Errors Missing required prop: “display”

Tagged: , ,

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #122270
    albanaavdiu
    Participant

    Problem : Missing required prop: “display”
    at <AlertDialog mainTitle=”Filtro” maxWidth=550 rejectButton=”Anullo” … >

    Solution : The error Missing required prop: “display” indicates that a required prop called display was not passed to a component.
    props: {
    display: {
    type: Boolean,
    required: true
    }
    }

    You need to either:
    Pass the required display prop to the component
    or

    – Make the display prop optional with a default value if it is not strictly necessary (required: false)

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.