We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c26cb16 commit 65517bbCopy full SHA for 65517bb
src/core/local-disk/shapes-to-document.mapper.ts
@@ -53,10 +53,16 @@ const AddDefaultValuesForInputPropsPlaceHolderAndPassword = (
53
otherProps: {
54
...shape.otherProps,
55
isPlaceholder:
56
+ // Small update no need to go for 0_3, but input placeHolder needs to have default value
57
+ // if undefined
58
shape.otherProps?.isPlaceholder !== undefined
59
? shape.otherProps?.isPlaceholder
60
: true,
61
textColor:
62
+ // Small update, no need to go for 0_3,
63
+ // but input textColor needs to have default value
64
+ // if undefined, and textColor was placeholder gray color
65
+ // in this case change it to black
66
shape.otherProps?.isPlaceholder === undefined &&
67
shape.otherProps?.textColor === '#8c8c8c'
68
? '#000000'
0 commit comments