|
@@ -51,6 +51,16 @@ class Currency extends Text
|
|
return $this->options(compact('digits'));
|
|
return $this->options(compact('digits'));
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * @param mixed $value
|
|
|
|
+ *
|
|
|
|
+ * @return mixed
|
|
|
|
+ */
|
|
|
|
+ protected function prepareInputValue($value)
|
|
|
|
+ {
|
|
|
|
+ return str_replace(',', '', $value);
|
|
|
|
+ }
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* {@inheritdoc}
|
|
* {@inheritdoc}
|
|
*/
|
|
*/
|