[FEATURE] Searchbar input 中添加 placeholder-class,支持自定义 placeholder 的样式
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 55/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- frontend
Research direction
Open src/components/searchbar/searchbar.wxml and inspect the existing input element. Add the requested placeholder-class support there, then verify that consumers can provide a custom class and style the placeholder as intended.
Written by the indexing model from the issue text.
Description
希望 input 中增加一个 placeholder-class
<input
aria-controls="searchResult"
type="text"
class="weui-search-bar__input"
placeholder-class="xxx" <<=== 支持自定义style
placeholder="{{placeholder}}"
value="{{value}}"
focus="{{focus}}"
bindblur="inputBlur"
bindfocus="inputFocus"
bindinput="inputChange"
/>
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 549
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from wechat-miniprogram/weui-miniprogram
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
[BUG] Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 28/100
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
wechat-miniprogram/weui-miniprogram#259 · 2 comments ·
All issues in wechat-miniprogram/weui-miniprogram
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
fullcalendar/fullcalendar#8106 ·