Type 'string' is not assignable to type 'CalendarMode'.ngtsc(2322) - ionic-framework

I am trying to write a calendar app on ionic, and the code used to work fine but I lost my old files and I'm starting a new project, but now when I try the same code I am encountering this error. Below are my home.page.html and home.page.ts files
How can I solve this?

Related

Been having issue with "Error: 'MenuController' is imported"

I keep having this issue while I try to compile my flutter application
lib/view/screens/dashboard/dashboard_screen.dart:7:1: Error: 'MenuController' is imported from both 'package:flutter/src/material/menu_anchor.dart' and 'package:vale_ace_boy/controller/menu_controller.dart'. import 'package:vale_ace_boy/controller/menu_controller.dart';
How can I get this solved please 🙏
I've tried flutter clean and flutter pub get but nothing seems to be working
You probably created a class/widget called MenuController, which already exists in Flutter, so there is ambiguity between the two of them.
Rename your MenuController as something else, for example CustomMenuController.

(Typo3 v11.4.0) Why does importing a recently generated page tree from a working server throw an input error?

I'm trying to import my page tree from a different server, yet when i press preview all pages show the error message: "One of the inputs were not an array!"
Both servers run typo3 v11.4.0
Changing import options does not help.
Changing export options does not help either.
Creating a new,empty root-Homepage with extensions disabled does not help.
Importing with extensions disabled does not help.
Ignoring the error message and importing anyway crashes the server and requires a typo3 reinstall.
I'm happy about any suggestions where to look further into this.
Screenshot of the import screen with Error
Thanks!
After reinstalling multiple times, repeating the same steps (using option: force uid) and ignoring the error message it worked.

Cannot find type 'INUIAddVoiceShortcutViewControllerDelegate' in scope

I have recently begun designing an app extension. I mention that because all of a sudden my Siri Setup View Controller within my main app has been throwing me a "Cannot Find type 'INUIAddVoiceShortcutViewControllerDelegate' in scope" error as well as "Cannot find type 'INUIAddVoiceShortcutViewController' in scope."
I have been trying to figure this one out for a while. I am unsure what to do or even where to begin.
Any ideas?
(Yes I have tried cleaning the build folder and deleting derived data)
Forgot IntentsUI import. Dumb mistake. Will leave it up just in case anyone else wondering...

Device calendar plugin for Flutter

We are using the device_calendar plugin and we are trying to reproduce the example app in ours. Im running into one error that I dont understand. The error is on the "enum DayOfWeekGroup". It is undefined even though I am including the package import. I tried adding it manually from the example code but it exists outside of the example project so its causing issues.
the plugin is : device_calendar: ^3.0.0+1
The enum exists in src folder outside the example everything else is being pulled into the package from the import but this enum.
This feature is not in the plugin yet, the workaround is use DayOfWeek enum in place of DayOfWeekGroup just in case someone is messing with the new version of device Calendar plugin like I was :)

TYPO3: File Upload Error in front using upload_example extension

I have installed upload_example extension in TYPO3 7.6.11. It works very well from admin. However, when i try to submit form with images it throws the error: 1298012500: Required argument "newExample" is not set for Helhum\UploadExample\Controller\ExampleController->create.
I checked every configuration, everything is set. I stuck. I am new in typo3.
Can you help please?
Thank You
You can debug using debugutility inside initializeMethodAction(). I must be called in such case when model argument is not found.
Or as a reference for file uploading you can refer this link. hopefully, it will help you
http://blog.typo3servers.info/show/typo3-extbase-fal-image-upload/