Skip to content

Commit ebe948f

Browse files
committed
txt input onpressin added
1 parent 9c473cc commit ebe948f

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

.idea/workspace.xml

+7-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "project-react-mvc",
3-
"version": "1.6.2",
3+
"version": "1.6.3",
44
"description": "Project React MVC Package where is implemented Form and Popup packages",
55
"main": "src/index.js",
66
"react-native": "src/index.js",

src/component/form/input.js

+2
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ function DblClickInput(props) {
8383
}}
8484
onPressIn={() => {
8585

86+
if( props.onPressIn ) props.onPressIn();
87+
8688
/*
8789
if (editableTimeout) clearTimeout(editableTimeout);
8890

src/component/project.form.js

+1
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ const ProjectForm = CreateReactClass({
303303
let type = props.type !== undefined ? props.type : 'text';
304304
let attr = props.attr !== undefined ? props.attr : {};
305305
attr = { ...{ autoCapitalize: 'none', style: {} }, ...attr };
306+
attr.onPressIn = props.onPressIn !== undefined ? props.onPressIn : null;
306307

307308
if (props.name === undefined) {
308309
Alert.alert('project.from error: input name is undefined');

0 commit comments

Comments
 (0)