Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
SonicScrewdriver committed Nov 20, 2024
1 parent c6d7e3a commit a918d6e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ const propUpgrades = {
// If the initialProps has simplify, it means we're upgrading from
// input-number to numeric-input. In this case, we need to upgrade
// the widget options accordingly.
if (initialProps.simplify) {
if (initialProps.simplify !== undefined) {
// If the answerType is not number or percent, we need to provide
// the answer form for the numeric-input widget
const provideAnswerForm =
Expand Down

0 comments on commit a918d6e

Please sign in to comment.