Skip to content

Commit b1714cd

Browse files
author
Leo Leoncio
committed
cleanup; readme;
1 parent 9200d3f commit b1714cd

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,11 @@ On your Control Panel, go to Settings → Plugins → "Masked Fields" → Instal
1515

1616
### Usage
1717

18+
![Screenshot](resources/masked1.png)
19+
20+
![Screenshot](resources/masked2.png)
21+
22+
### New formats
23+
24+
PR into https://github.com/leowebguy/masked-fields
25+
following https://igorescobar.github.io/jQuery-Mask-Plugin patterns/schema

resources/masked1.png

77.9 KB
Loading

resources/masked2.png

19.1 KB
Loading

src/assets/Assets.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ public function init()
2020
$this->sourcePath = '@leowebguy/maskedfields/assets';
2121
$this->depends = [CpAsset::class];
2222

23-
//$this->css = [
24-
// 'css/cp.css'
25-
//];
26-
2723
$this->js = [
2824
'js/jquery.mask.min.js',
2925
'js/cp.js'

src/fields/MaskedField.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function getSettingsHtml(): ?string
9090
/**
9191
* @inheritdoc
9292
*/
93-
public function getInputHtml($value, ElementInterface $element = null): string
93+
public function getInputHtml(mixed $value, ElementInterface $element = null): string
9494
{
9595
$type = $this->type;
9696

0 commit comments

Comments
 (0)