eddyverbruggen@gmail.com
eda57d2c35
#3614 Feature request: TextField maxLength property support.
...
- Implemented @PanayotCankov's Android 'view recycle' remark.
2017-06-01 11:57:24 +03:00
eddyverbruggen@gmail.com
0997d537d0
Feature request #3614 : TextField maxLength property support.
2017-06-01 11:57:24 +03:00
Hristo Hristov
b67213120e
Change onReturnPress from abstract to non abstract so that TextView doesn’t throw exception when Return is pressed ( #4208 )
...
Fix https://github.com/NativeScript/NativeScript/issues/4123
2017-05-17 09:47:05 +03:00
Hristo Hristov
34aec12c3b
fix https://github.com/NativeScript/NativeScript/issues/4135 ( #4192 )
2017-05-16 11:02:24 +03:00
Eddy Verbruggen
9437f49aed
#3889 Add a 'blur' event to text input fields ( #3896 )
2017-04-20 17:57:03 +03:00
vakrilov
4b98db0643
Property values should be lowercased to pass validation.
2017-04-13 11:22:45 +03:00
Hristo Hristov
5f14fc6a23
text-decoration won’t be applied to edit-text ( #3932 )
...
* text-decoration won’t be applied to edit-text
* stop printing slow tests
* remove console line
* fix failing tests
* fix wrong checks
2017-04-04 13:50:34 +03:00
Alexander Vakrilov
b2c6cf2d01
Merge pull request #3861 from DickSmith/master
...
fix(ui) updateTextTrigger="focusLost" for Android
2017-04-03 10:33:39 +03:00
Hristo Hristov
e6250e718a
Disable recycling of native views
...
createNativeView will set iOS nativeView if it is null/undefined
2017-03-28 18:08:59 +03:00
Hristo Hristov
84e726e6b9
Resolving comments
2017-03-28 18:08:59 +03:00
Hristo Hristov
c18a76c93a
rename:
...
_createNativeView to createNativeView;
_initNativeView to initNativeView
_disposeNativeView to disposeNativeView
_resetNativeView to resetNativeView
2017-03-28 18:08:59 +03:00
Hristo Hristov
f2898f84d5
NativeView recycled for android
2017-03-28 18:08:59 +03:00
Dick Smith
73ead078fc
Fix #3860
2017-03-23 15:42:49 -04:00
Panayot Cankov
2b28730011
Split get/set native to getDefault setNative
2017-03-22 16:37:52 +02:00
Hristo Hristov
a64bba62aa
whiteSpace default value change to undefined ( #3782 )
...
TKUnit default message change to empty string
isSet method is now instance method of Property classes
fix detaching from parent bindingContext - were using oldParent.parent instead of parent
editable-text-base.android - onTextChanged implementation commented. Does nothing.
frame - onCreateView wrapped in try/catch and shows label with exception message if any
text-base.android - should support reset of nativeView. TransformationMethod won’t be set if TextField is secure
Change some types to their string couterparts
TextField.android won’t support multilines anymore in order to work as iOS
In android when page is removed from native backstack we won’t call tearDownUI again a second time
2017-03-14 10:26:45 +02:00
Hristo Deshev
629eb6e683
Use relative imports in tns-core-modules.
...
Use tns-core-modules/* imports in outside code (apps, tests, etc)
2017-03-13 14:37:59 +02:00
Hristo Hristov
1d49f5f3c3
fix padding on text-view & text-field ( #3758 )
...
* fix padding on text-view & text-field
text-base is now snapshotable
view.android is now snapshotable
* createNativeView returns the nativeView for android
Fix image tests
Implement test for image loaded from res://
EffectivePaddings updated when nativeView have some from its native theme
2017-03-09 16:09:53 +02:00
Hristo Hristov
33aa48bdfd
Add support for snapshot
...
Fix Layout class getMeasuredWidth & getMeasuredHeight
Move some classes to widgets
Fix API17 tests
2017-03-06 14:05:55 +02:00
Hristo Deshev
86481cce4a
Make typings compatible with @types/node.
...
Fixes name clashes and uses Node-compatible typings where possible.
Changes:
- setTimout et al now return NodeJS.Timer instead of number
- No "console" module anymore. Everyone uses it through global.console
anyway.
- We have a typed "global" instance with exposed properties now. Any
"freeform" accesses must go through a `(<any>global).blah` cast.
- remove tns-core-modules.{base,es6,es2015}.d.ts. Those were needed
as workarounds for the ES6/DOM/Node type clashes.
2017-02-15 13:01:10 +02:00
Hristo Hristov
309ea148e1
Fix setting text property to number. ( #3449 )
...
Fix setting JS property from native.
2017-01-09 18:13:31 +02:00
Nedyalko Nikolov
421810c293
TextView tests.
2017-01-05 16:09:13 +02:00
vakrilov
c30be0d606
View lifecycle methods
2017-01-04 17:18:45 +02:00
PanayotCankov
7931ecd4f8
Fix tslint errors
2016-12-21 17:42:31 +02:00
Rossen Hristov
2aebdd800c
Fix apps runtime crashes
2016-12-20 14:09:28 +02:00
Hristo Hristov
b20fd7fd4c
Fix nativeView issues
...
Fix Listeners base class
2016-12-15 10:46:20 +02:00
Hristo Hristov
19ee47ba24
got to layouts
2016-12-13 15:51:18 +02:00
Hristo Hristov
07e2102c5d
restore properties deleted with merge
2016-12-13 15:51:18 +02:00
Hristo Hristov
befb494a50
up to segmented-bar.ios
2016-12-13 15:51:18 +02:00
Hristo Hristov
1202cb7288
almost all without layouts
2016-12-13 15:51:18 +02:00
Hristo Hristov
645f428f59
alpha1
2016-12-13 15:51:18 +02:00
Hristo Hristov
bb2c7aa60a
partial state
2016-12-13 15:51:18 +02:00
Hristo Hristov
e4c21258a3
More files migrated.
2016-12-13 15:51:18 +02:00
pgrzeszczak
fee1dd9a59
Do not dismiss keyboard on android, when text-field has return key type set to 'next' ( #3239 )
2016-12-05 14:07:00 +02:00
Rossen Hristov
6ac1417578
Fix: TextView new line closes virtual keyboard on Android
...
Resolves #3111
2016-11-28 15:13:19 +02:00
Rossen Hristov
0bfd25b139
Fix: ListView with TextField in the Item template not showing Keyboard on Portrait mode
...
Resolves #2942
2016-10-31 13:52:38 +02:00
Rossen Hristov
15d891cc08
Refactor application of text decoration, text transform, letter spacing and formatted text.
...
Related to #2427
2016-07-28 10:33:33 +03:00
Hristo Hristov
7db517858b
TextWatchListener is removed at onDetach so that no exception is thrown if android raise textChanged but we destroyed our android object in onDestroy of edit-text ( #2392 )
2016-07-01 13:20:09 +03:00
Panayot Cankov
e135c20b14
Rename the files
2016-05-26 14:30:25 +03:00