12 Commits

Author SHA1 Message Date
Phecda Su
8a4cbfdb5d Implement 'keyboardType' on native side (#104) 2019-01-13 18:37:55 -08:00
eladgel
86341a5bfc Added maxNumberOfItems property (#102)
* DialogAndroid.js - Adding max number of items in a list property
* DialogAndroid.java - Added maxNumOfItems in a list dialog property, and handling so we control the dialog's size.
2019-01-02 06:49:15 -08:00
Noitidart
cc1eed32f6
Update DialogAndroid.js - adjust for js api 2018-05-30 22:10:29 -07:00
Noitidart
e9933c3696 Added screenshots (#83)
* Adding screenshots to readme

* * add screenshots folder
* fixed multi choice, when nothing was selected it was giving [ undefined ]
* no spacing in showProgress when horizontal style

* readme nit

* update table of contents

* readme nit
2018-05-16 21:26:58 +02:00
Noitidart
5b55a623b8 Support regular RN color value, no more crashing after first callback is consumed. (#82)
* Update DialogAndroid.java

Support regular RN color value, no more crashing after first callback is consumed.

* new api in js

* updated js

* types fixing

* fixed class name from MaterialDialog to AndroidDialog

* Whops it should be DialogAndroid, not AndroidDialog

* fix showProgress - plan to remove this, just testing

* update readme

* added mroe examples

* assignDefaults example

* alternative shorthand signatures

* more readme

* deprecate string as item, selctedIndex, selectedIndices. moved to object as item, with label

* changes based on discusion with @vonovak

* readme nits

* readme nit

* readme touchups

* readme nit

* testing and fixes per testing

* .padStart is not same as prefix
2018-05-15 19:59:36 +02:00
Vojtech Novak
3ed5b1a3ef Update DialogAndroid.js 2016-08-09 22:57:07 +02:00
Vojtech Novak
d7d2d5dd32 fix for NaN in case of a empty multi-selection
quick fix, although I'd say that serializing the result as JSON on the java side and simply passing it on on the js side would be nicer... (could do it, if you'd be interested)
2016-06-17 11:25:31 +02:00
Anthony Ou
6142b97cb6 Updated JS 2016-03-11 15:54:44 -07:00
jeffchienzabinet
72d9c0526f Added dismiss method 2016-01-05 19:56:22 -08:00
Huang Yu
2688315e38 add input callback to callback stack
curerntly only allow one input per dialog
2015-11-18 15:34:43 -08:00
Aakash N S
431fa3acf7 Cleaned up Javascript code 2015-11-02 00:00:21 +05:30
Aakash N S
faf2f5f047 Added examples for implemented features 2015-11-01 22:58:44 +05:30