Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Çağatay Çivici committed Jan 4, 2018
1 parent 4983f92 commit 8bf645b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/showcase/keyfilter/KeyFilterDemo.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ import {InputText} from 'primereact/components/inputtext/InputText';
</CodeHighlight>

<h3>Getting Started</h3>
<p>KeyFilter property is integrated in input components such as InputText using the keyFilter property whose value is either a built-in regular expression name or a custom one. Following input only accepts integers.</p>
<p>KeyFilter property is integrated in input components such as InputText using the keyfilter property whose value is either a built-in regular expression name or a custom one. Following input only accepts integers.</p>

<CodeHighlight className="html">
{`
<InputText keyFilter="int"/>
<InputText keyfilter="int"/>
`}
</CodeHighlight>
Expand All @@ -98,7 +98,7 @@ import {InputText} from 'primereact/components/inputtext/InputText';
<p>A custom filter is provided by binding a regular expression, here is an example that blocks special characters</p>
<CodeHighlight className="html">
{`
<InputText keyFilter={/^[^#<>*!]+$/}/>
<InputText keyfilter={/^[^#<>*!]+$/}/>
`}
</CodeHighlight>
Expand Down

0 comments on commit 8bf645b

Please sign in to comment.