Skip to content

Commit 8592695

Browse files
committed
text-area font syle added
1 parent 37a901a commit 8592695

File tree

3 files changed

+337
-4
lines changed

3 files changed

+337
-4
lines changed

client/packages/lowcoder/src/comps/comps/textInputComp/textInputConstants.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ export function getStyle(style: InputLikeStyleType) {
229229
font-size: ${style.textSize};
230230
font-weight: ${style.textWeight};
231231
font-family: ${style.fontFamily};
232+
font-style:${style.fontStyle};
232233
background-color: ${style.background};
233234
border-color: ${style.border};
234235
@@ -275,10 +276,10 @@ export const inputRefMethods = [
275276
];
276277

277278
export function checkMentionListData(data: any) {
278-
if(data === "") return {}
279-
for(const key in data) {
280-
check(data[key], ["array"], key,(node)=>{
281-
check(node, ["string"], );
279+
if (data === "") return {}
280+
for (const key in data) {
281+
check(data[key], ["array"], key, (node) => {
282+
check(node, ["string"],);
282283
return node
283284
})
284285
}

client/packages/lowcoder/src/comps/controls/styleControlConstants.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -685,6 +685,7 @@ export const InputLikeStyle = [
685685
TEXT_SIZE,
686686
TEXT_WEIGHT,
687687
FONT_FAMILY,
688+
FONT_STYLE,
688689
MARGIN,
689690
PADDING,
690691
...ACCENT_VALIDATE,

0 commit comments

Comments
 (0)