少し関連情報を整理します。
操作方法等の覚え
- VS Codeでの操作覚え(LWC)
- VS Codeでの操作覚え(LWC)2
- 古いPC(Win7)でSalesforce DXの環境設定する
- 古いPC(Win 7)でSalesforce DXの環境設定する2
- LWC エラーの対処方法
- LWCが関係するトレイルヘッドのエラー
- LWC未解決
- Saveボタンがないのでショートカットを使う
Use Ctrl + S
PATH 変数を確認すると、インストール先が判断できると思います。そこにアンインストール用のバッチファイルとかはないですか?
https://www.reddit.com/r/SalesforceDeveloper/comments/16dn1v4/cant_uninstall_sfdx_windows/
活用例
- ビジュアルフォースページ内のlwcからのナビゲーション
- 表示されるLWCコンポーネントは、ログインユーザーの言語によって異なります
- vscodeですべてのメタデータを取得する方法
- カスタムタブにLWCを追加
コーディングサンプル
- I need examples for lightning datatable and the datacell should be a dropdown to select
- Export data to CSV using LWC and APEX
- How to use openTab() in a LWC placed in Utility Bar?
- LightningWebセキュリティと外部ライブラリ
- lightning-record-edit-formとlightning-input-fieldをそれぞれtr,tdタグで囲う方法について
調べてみると似たような現象の解説がありますね。
LWCでテーブルの行コンポーネントがうまく表示されなかったので、display:table-row;した
https://zenn.dev/hrk623/articles/fa0770aabccb26
以下に回避策が説明されています。参考になると思います。
Is attribute 'allowfullscreen' of iframe unavailable in Lightning component?
https://salesforce.stackexchange.com/questions/161892/is-attribute-allowfullscreen-of-iframe-unavailable-in-lightning-component
lwc:if={!condition}と思ったのですが... 違うみたいですね。
何やらサポートされて無さそうな感じです。
what if we want to render if the flag is false? i am trying to set it lwc:if={!condition} OR lwc:if={condition == false} but it does not work
You will have to create yet another getter function in JavaScript.
Complex expressions like !condition or object?.property?.condition aren’t supported. To evaluate complex expressions, use a getter in your JavaScript class.
https://www.apexhours.com/conditional-rendering-in-lwc-using-lwcif-and-lwcelse/
その他
CSS サンプル
インストール
CLIのバージョンダウンで解決
I was able to resolve this issue by overriding the Salesforce CLI apiversion back to 54.0 when running the package version create command.
この問題は、パッケージ バージョン作成コマンドの実行時に Salesforce CLI の API バージョンをオーバーライドして 54.0 に戻すことで解決できました。
deployが遅い
I gave up and just created a new sandbox. Deploying a class file is taking less than 5 seconds in the new sandbox which is tolerable.
諦めて新しいサンドボックスを作成しました。新しいサンドボックスでは、クラス ファイルのデプロイにかかる時間は 5 秒未満ですが、許容できる範囲です