@tsed/react-formio 1.13.0 → 1.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/react-formio",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.1",
|
|
4
4
|
"description": "Provide a react formio wrapper. Written in TypeScript.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.modern.js",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"watch": "microbundle watch --no-compress --format modern,cjs --jsx React.createElement"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@tsed/redux-utils": "1.13.
|
|
14
|
+
"@tsed/redux-utils": "1.13.1",
|
|
15
15
|
"eventemitter2": "^6.4.3",
|
|
16
16
|
"prop-types": "^15.7.2"
|
|
17
17
|
},
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"tooltip.js": ">=1.3.3"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@tsed/tailwind": "1.13.
|
|
30
|
-
"@tsed/tailwind-formio": "1.13.
|
|
29
|
+
"@tsed/tailwind": "1.13.1",
|
|
30
|
+
"@tsed/tailwind-formio": "1.13.1"
|
|
31
31
|
},
|
|
32
32
|
"repository": "https://github.com/TypedProject/tsed-formio",
|
|
33
33
|
"bugs": {
|
|
@@ -25,7 +25,7 @@ describe("input-text", () => {
|
|
|
25
25
|
const input = getByTestId("input_test") as HTMLInputElement;
|
|
26
26
|
|
|
27
27
|
expect(input).toBeInTheDocument();
|
|
28
|
-
expect(input).
|
|
28
|
+
expect(input).toHaveAttribute("placeholder", placeholderTest);
|
|
29
29
|
});
|
|
30
30
|
|
|
31
31
|
it("should change the value of the input-text", () => {
|
|
@@ -58,7 +58,7 @@ export function InputText<T = any>({
|
|
|
58
58
|
className={classnames("form-control", size && `form-control-${size}`)}
|
|
59
59
|
id={name}
|
|
60
60
|
required={required}
|
|
61
|
-
value={(localValue ||
|
|
61
|
+
value={(localValue || "") as any}
|
|
62
62
|
placeholder={placeholder}
|
|
63
63
|
onChange={(event) => {
|
|
64
64
|
const value = getEventValue(event);
|