diff --git a/src/App.js b/src/App.js
index 8c99906137..9eb57700d8 100644
--- a/src/App.js
+++ b/src/App.js
@@ -405,8 +405,8 @@ class App extends Component {
THEMING
Guide
PREMIUM
- Ultima
- Avalon
+ Ultima
+ Avalon
THEMES
Omega
Cruze
diff --git a/src/showcase/inputtext/InputTextDemo.js b/src/showcase/inputtext/InputTextDemo.js
index 721bc3964d..bf562ec0db 100644
--- a/src/showcase/inputtext/InputTextDemo.js
+++ b/src/showcase/inputtext/InputTextDemo.js
@@ -1,7 +1,6 @@
import React, {Component} from 'react';
import {Link} from 'react-router';
import {InputText} from '../../components/inputtext/InputText';
-import {Button} from '../../components/button/Button';
import {TabView,TabPanel} from '../../components/tabview/TabView';
import {CodeHighlight} from '../codehighlight/CodeHighlight';
@@ -9,8 +8,9 @@ export class InputTextDemo extends Component {
constructor() {
super();
- this.state = {};
- this.toggle = this.toggle.bind(this);
+ this.state = {
+ value: ''
+ };
}
toggle() {
@@ -28,14 +28,8 @@ export class InputTextDemo extends Component {
-
Basic
this.setState({value: e.target.value})}/>
{this.state.value}
-
- Disabled
-
-
-
@@ -111,18 +105,18 @@ import {InputText} from 'primereact/components/inputtext/InputText';
{`
+import React, {Component} from 'react';
+import {InputText} from '../../components/inputtext/InputText';
+
export class InputTextDemo extends Component {
-
+
constructor() {
super();
- this.state = {};
- this.toggle = this.toggle.bind(this);
- }
-
- toggle() {
- this.setState({disabled: !this.state.disabled});
+ this.state = {
+ value: ''
+ };
}
-
+
render() {
return (
@@ -134,14 +128,8 @@ export class InputTextDemo extends Component {
-
Basic
this.setState({value: e.target.value})}/>
{this.state.value}
-
- Disabled
-
-
-
)