2024-10-23 04:05:27 +00:00
|
|
|
<template>
|
2024-10-31 07:56:10 +00:00
|
|
|
<DocSectionText v-bind="$attrs">
|
|
|
|
<p>The form component is responsible for managing the form state and must encapsulate the form fields.</p>
|
|
|
|
</DocSectionText>
|
2024-10-23 04:05:27 +00:00
|
|
|
<DocSectionCode :code="code" hideToggleCode importCode hideStackBlitz />
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
code: {
|
|
|
|
basic: `
|
2024-10-31 07:56:10 +00:00
|
|
|
import Form from '@primevue/forms';
|
2024-10-23 04:05:27 +00:00
|
|
|
`
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|