Can't prepopulate numbers?

Created on 17 January 2022, about 3 years ago
Updated 14 March 2023, about 2 years ago

Problem/Motivation

field_tarief_fl en field_tarief_klant are both numeric fields (Float). field_opdracht is not relevant to this case. I want to prepopulate the numbers field but for some reason it stays blank.

This how my prepopulate link looks like:
../node/add/timesheet?display=timesheet_validatie&edit[field_opdracht][widget][0][target_id]=1279&edit[field_tarief_klant][0][value]=5.32&edit[field_tarief_fl][0][value]=5.00&destination=beheer/opdracht/1279

field_opdracht is prepopulated as expected but the numeric fields stay blank.

What I tried

We use a comma as decimal point in my country and tried setting the prepopulate value to use the decimal point instead of comma but without success.

Maybe comma or decimal point in the url breaks the prepopulation function? I tried using "5" and "6" as values but that does not work either.

What am I missing?

💬 Support request
Status

Active

Version

2.3

Component

Documentation

Created by

🇧🇪Belgium apoc1

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • First commit to issue fork.
Production build 0.71.5 2024