I am creating a to do list app with Ionic 4. When the user clicks add a task an alert opens. However when a task is put it the input and the add task button is clicked, nothing happens. I feel like there is an issue with my arrow function but I am not familiar enough with them to spot the problem. I have attached a photo of the bit of code I think is the issue and the link to my github. I would really appreciate feedback and a solution!
Related Questions in IONIC-FRAMEWORK
- Firebase link existing user to anonymous account?
- Ionic Angular Standalone ion-icon are not showing at all
- Unable to run ionic app on Android emulator - [error] ADBs is unresponsive after 5000ms
- How should I filter Observables the "Right Way" with RxJs in Angular 17?
- Ionic/Capacitor: Background Location Tracking on iOS and Android?
- Best Approach for Implementing Video Selection from Gallery/Files in Ionic-React with Capacitor
- <video> tag with downloaded path in ionic ios not loads the video
- How do I record that this ionic checkbox has been checked by the user?
- Ionic 5 angular sharing a component between two modules
- mergeDebugResources FAILED
- Issue saving generated image to local filesystem in iOS using Capacitor
- Detect clickable areas within <img> tag in Ionic project
- Whitelisting Ionic app in Salesforce Org for CORS/CSP
- How to Polyfill node core modules in webpack 5 using ionic capacitor angular
- I'm developing an Android, but I can't see my "console.log" in logcat
Related Questions in ALERT
- TradingView alerts are not being executed by strategy()
- Pine Script: Loop Through Input Price levels & set Alerts for Each Price
- How to show alert on TabBar in SwiftUI?
- prometheus alerts for true expr to be triggered after 4 hours except first time
- How to handle alertFlash java script alert which is not appear during automation using selenium
- Trying to handle Alert confirm pop up
- Creating HTTP code 500 alert using Datadog monitoring multiple systems in the same alert
- isNaN alert is responding every time. Even when the value is number
- Error on second tab alert Presenting view controller <SwiftUI.PlatformAlertController: > 0x10580c400> from detached view controller
- Are all Oracle alert log errors 5 Digits long?
- Jest mocked alert not being called when tested with unit tests
- trying to show alert when modal is closed
- Elastic observability heartbeat interval date
- reate an alert in Dynatrace for when the pod count of any workload within a specific namespace is zero,. So, Need some guidance on the query
- Javascript script switch color "onchange" only after clicking alert and not before
Related Questions in ARROW-FUNCTIONS
- graphviz arrow, node, table - I'm looking for a solution to avoid a double arrow?
- Is it possible to change variable value inside this function?
- flatMap with one line of arrow function confusion
- Can't change a variable inside onSnapshot method
- Calling a function in Arrow Function
- What is the difference between `function () {}` and `() => {}` in JavaScript?
- Providing seperate ref attribute to multiple element in reacJS
- Higher Order Component in react js
- arrow function & setTimeout scope
- Arrow function isn't getting the value of a object property
- Can we set default value of a variable as empty arrow function while destructuring in Javascript?
- For each object in array, how to resolve promises that retrieve DB data and populate dropdown in sequential order?
- How do I go about removing an event handler created in an arrow function so that when the score limit for my game is reached, the buttons stop working
- Arrow function as a parameter to a function in JavaScript
- Understanding Arrow Function Behavior with Conditional Operations in JavaScript
Related Questions in ION-LIST
- Can I make an ngFor repeath specifict times of an array? Ionic
- Ionic formControlName and ngIf don't work together
- How to fetch data from cloud firestore to an ion-list angular 9 /ionic 5
- Ionic 5 ion-content ion-list scroll disabled after scroll down
- Ionic 5 ion refresh problem when we also used ion gesture
- Ionic: change ion-list items on click
- Different Lists in different slides scroll at same time
- Remove spacing in ion-list
- show ion-list over other elements
- Ionic 3: ion-list not showing inside ion-item
- Ionic horizontal reordering list
- Ionic 4 Arrow Functions
- ion-list is not scrolling and items are not clickable
- Display an ion-item in an ion-list dynamically
- Ionic - HTML list with parents and child elements
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)

I see two issues with the code here:
this.tasks = this.taskList.valueChanges(); This returns an observable so you must use an async pipe to retrieve its value within the template such as:
*ngFor="let task of tasks | async"
The input was set for a different name, the input name here is "title" and that is how the data returned within the arrow function should be referenced as well