Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update v-model.md #2686

Merged
merged 1 commit into from Feb 5, 2024
Merged

Update v-model.md #2686

merged 1 commit into from Feb 5, 2024

Conversation

CDT
Copy link
Contributor

@CDT CDT commented Jan 31, 2024

the pre 3.4 usage of defineModel('title', { required: true }) is missing the required: true property

Description of Problem

In the pre 3.4 usage code of defineModel('title', { required: true }), the required: true property is missing

Proposed Solution

Changed defineProps(['title']) to

defineProps({
  title: {
    required: true 
  }
})

the pre 3.4 usage is missing the required: true property
Copy link

netlify bot commented Jan 31, 2024

Deploy Preview for vuejs ready!

Name Link
🔨 Latest commit 9966f54
🔍 Latest deploy log https://app.netlify.com/sites/vuejs/deploys/65b9a4933748740008521b8a
😎 Deploy Preview https://deploy-preview-2686--vuejs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@CDT CDT marked this pull request as draft January 31, 2024 01:39
@CDT CDT marked this pull request as ready for review January 31, 2024 01:41
@NataliaTepluhina NataliaTepluhina merged commit 77de31d into vuejs:main Feb 5, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants