angular-nglist

AngularJS (Material) - Refreshing data in md-list after adding new object using md-dialog

 ̄綄美尐妖づ 提交于 2019-12-10 18:35:13
问题 I'm fairly new to the whole Angular world, but yesterday I ran into a problem I cannot seem to fix. As a prototype I'm creating a simple Task application which enables the user to create, view and delete tasks. A new task can be created by clicking a button which opens the dialog. Some information can be given in and by clicking "add task" the task gets added to the database. The only problem is, after the dialog closes the md-list, which displays a list of items, does not refresh to show the

ng-list with line break as textarea delimter in AngularJS >1.3

我与影子孤独终老i 提交于 2019-12-10 04:03:53
问题 I'm using AngularJS 1.3 where the syntax for ng-list has changed slightly (for instance, it no longer supports regex) I'm trying to specify a line break as the delimiter for ng-list in a textarea. However it doesn't work properly. I've tried to set ng-list to ASCII line break but then there is a problem. At once when the contents are edited (i.e. add one character to the textarea contents), it starts to break on every single character. How do I properly specify a line break as the delimiter

ng-list with line break as textarea delimter in AngularJS >1.3

落花浮王杯 提交于 2019-12-05 04:18:41
I'm using AngularJS 1.3 where the syntax for ng-list has changed slightly (for instance, it no longer supports regex) I'm trying to specify a line break as the delimiter for ng-list in a textarea. However it doesn't work properly. I've tried to set ng-list to ASCII line break but then there is a problem. At once when the contents are edited (i.e. add one character to the textarea contents), it starts to break on every single character. How do I properly specify a line break as the delimiter for ng-list in AngularJS 1.3? Link to plunker: http://plnkr.co/edit/F37yA0LRHQXMh4caP3A0 We should use