Svelte does not support two-way-data-binding with custom elements when the property name is value
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 42/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
調査の方向性
Start with the README and review how it currently describes Svelte integration, then read the linked Svelte issue for the reported binding limitation. Done means the README clearly documents that two-way binding with a custom element whose property is named value does not work as expected, along with the relevant workaround or limitation.
索引モデルが issue の本文から書いたものです。
説明
Hey,
I just read this blog post and saw this repository linked there. Nice to see this movement and progress for ui5 webcomponents.
Good job guys!
I tried to use ui5 webcomponents with svelte two years ago and stumpled on some points.
But all in all it works really nice!
I think probably you should mention some points in README, which are currently not supported.
Such as two way data binding on input-element is not working as expected. See: https://github.com/sveltejs/svelte/issues/4838
<script>
import "@ui5/webcomponents/dist/Button";
import "@ui5/webcomponents/dist/Input";
export let name = world;
</script>
<style>
main {
font-family: sans-serif;
text-align: center;
}
</style>
<main>
<h1>Hello {name}!</h1>
<ui5-button>Hello {name}</ui5-button>
<!-- databind implement by myself -->
<ui5-input value={name} on:input={(e) => name = e.target.value}></ui5-input>
<!-- svelte "native" two-way-databinding -->
<!-- comment this out to see the problem-->
<!--<ui5-input bind:value={name}></ui5-input>-->
</main>
- 主要言語
- Svelte
- スター
- 28
- フォーク
- 2
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
UI5/sample-webcomponents-svelte のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
UI5/sample-webcomponents-svelte の issue をすべて見る
似ている issue
-
marketing
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug dap needs-assignee size/M
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
EffortlessMetrics/perl-lsp#10250 · コメント 1 件 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
obra/superpowers#2763 ·
メンテナーはふだん 1 日以内に返信
-
Codespaces user secrets guide describes logout behavior from older GitHub CLI versions対応中かも @Jostar2 が今日担当しました。 オープンtriage
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
github/docs#47156 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area:post effort:low enhancement P7 source:agent
難易度 1/5 1〜3時間 初心者へのやさしさ 95/100
メンテナーはふだん 1 日以内に返信