Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

[BUG] placeholderStyle等没有被转换成内联解释型样式 #281

Closed
briefguo opened this issue Oct 15, 2019 · 1 comment · Fixed by #282
Closed

[BUG] placeholderStyle等没有被转换成内联解释型样式 #281

briefguo opened this issue Oct 15, 2019 · 1 comment · Fixed by #282
Labels
bug Something isn't working

Comments

@briefguo
Copy link

bug 描述
一些组件的特殊style属性,没有正常被转换,譬如:

  • PickerView的indicatorStyle
  • Input的placeholderStyle
  • Map的style
  • 。。。

期望结果
能够正常转换为内联解释型样式

复现代码

placeholderStyle={{ color: "#adb1b9" }}
// 转换成了 placeholder-style="[object Object]"

版本信息:

  • remax 版本: [1.2.0]
  • 手机型号 [iPhone X]
  • 小程序端 [微信小程序]
  • 小程序版本[2.8.2]
  • 开发环境 [mac OS]
@briefguo briefguo added the bug Something isn't working label Oct 15, 2019
@yesmeck
Copy link
Member

yesmeck commented Oct 15, 2019

一些自定义组件也会有这个问题。

我可能需要约定把 style 结尾的属性都转换一下🤔。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants