Skip to content

Commit ffa08f1

Browse files
author
Edward Xiao
committed
- Remove value attr in <Textbox/> for security reason.
1 parent 4885fe1 commit ffa08f1

7 files changed

+5
-7
lines changed

lib/components/Textbox.js

-1
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,6 @@ var component = function component(_ref) {
691691
id: id,
692692
name: name,
693693
type: type,
694-
value: internalValue,
695694
disabled: disabled,
696695
autoComplete: autoComplete,
697696
maxLength: Number(maxLength),

lib/react-inputs-validation.js

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

lib/react-inputs-validation.js.map

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

lib/react-inputs-validation.min.js

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

lib/react-inputs-validation.min.js.map

+1-1
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": "react-inputs-validation",
3-
"version": "3.2.0",
3+
"version": "3.2.1",
44
"description": "React form input validation components",
55
"main": "index.js",
66
"repository": {

src/js/Inputs/Textbox.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,6 @@ const component: React.FC<Props> = ({
426426
id={id}
427427
name={name}
428428
type={type}
429-
value={internalValue}
430429
disabled={disabled}
431430
autoComplete={autoComplete}
432431
maxLength={Number(maxLength)}

0 commit comments

Comments
 (0)