fix newlines in contact form
This commit is contained in:
parent
313cf7e789
commit
a71d466311
1 changed files with 3 additions and 1 deletions
|
@ -47,7 +47,9 @@ pandora.ui.contactForm = function() {
|
||||||
width: width
|
width: width
|
||||||
}),
|
}),
|
||||||
Ox.Input({
|
Ox.Input({
|
||||||
autovalidate: /.+/,
|
autovalidate: function(value, blur, callback) {
|
||||||
|
callback({valid: value.length > 0, value: value});
|
||||||
|
},
|
||||||
height: 256,
|
height: 256,
|
||||||
id: 'message',
|
id: 'message',
|
||||||
placeholder: 'Message',
|
placeholder: 'Message',
|
||||||
|
|
Loading…
Reference in a new issue