Also validate edits.

This commit is contained in:
Sander Dorigo
2014-10-05 08:49:36 +02:00
parent ec601efa6e
commit 980d9ce885
5 changed files with 30 additions and 118 deletions

View File

@@ -16,7 +16,7 @@ class Form
* @return string
* @throws FireflyException
*/
public static function ffAmount($name, $value = null, array $options = [])
public static function ffNumber($name, $value = null, array $options = [])
{
$options['step'] = 'any';
$options['min'] = '0.01';