@wildwinter/app-shell 0.52.0 → 0.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -3279,7 +3279,7 @@ function fieldRow(initial) {
3279
3279
  const help = valueHelpText(opts.decl, opts.value);
3280
3280
  valueHelp.textContent = help;
3281
3281
  valueHelp.hidden = help === "";
3282
- const words = [typing || fieldValueProblem(opts.decl, opts.value), opts.problem ?? ""].filter((w) => w !== "");
3282
+ const words = opts.replaceProblem !== void 0 ? [opts.replaceProblem].filter((w) => w !== "") : [typing || fieldValueProblem(opts.decl, opts.value), opts.problem ?? ""].filter((w) => w !== "");
3283
3283
  problem.textContent = words.join(" ");
3284
3284
  problem.hidden = words.length === 0;
3285
3285
  row.classList.toggle("has-problem", words.length > 0);