- Eerste stap in het opnieuw laten werken van de chat client...
This commit is contained in:
@@ -1,5 +1,26 @@
|
||||
export const FormField = {
|
||||
name: 'FormField',
|
||||
// Static method for direct rendering
|
||||
renderComponent(container, props, app) {
|
||||
console.log('🔍 [DEBUG] FormField.renderComponent() aangeroepen');
|
||||
|
||||
if (!container) {
|
||||
console.error('Container element niet gevonden voor FormField');
|
||||
return null;
|
||||
}
|
||||
|
||||
console.log('🔍 [DEBUG] FormField container gevonden, Vue app aanmaken');
|
||||
|
||||
try {
|
||||
// Maak een nieuwe Vue app instantie met dit component
|
||||
const instance = app.mount(container);
|
||||
console.log('🔍 [DEBUG] FormField component succesvol gemount');
|
||||
return instance;
|
||||
} catch (error) {
|
||||
console.error('🚨 [ERROR] Fout bij mounten FormField component:', error);
|
||||
return null;
|
||||
}
|
||||
},
|
||||
props: {
|
||||
field: {
|
||||
type: Object,
|
||||
|
||||
Reference in New Issue
Block a user