Dawn theme - Custom product form properties not adding when input type is not a radio

Topic summary

Issue: Custom line item properties (custom fields attached to a cart item) intermittently fail to add for select and text inputs in a Shopify Dawn product form; radio inputs work reliably.

Context: Three properties are shown when products have specific tags—a select, a radio, and a text input. The select and text input sometimes add as empty properties or do not appear at all, while replacing the select with a radio makes it work.

Observed behavior: • Radio input consistently adds the property to cart and order. • Select and text input are inconsistent—occasionally empty or missing. • The issue is not constant and reproduces unpredictably.

Code: A code snippet was referenced, but its contents are not visible here; implementation details may be central to diagnosing the problem.

Status: Unresolved. The author seeks advice on keeping a dropdown and fixing the text input so both reliably add line item properties.

Summarized with AI on January 2. AI used: gpt-5.

Hello, I’ve been having an issue occurring on code that worked perfectly up until this point.

I have 3 custom properties when products have a specific tags.

A select, a radio and a text input.

The radio work perfectly fine, but the select and input will only sometimes add the line item to cart and order.

In some occurrences, I’ve seen the empty line item property in my cart and orders, while other time it just plainly won’t add it.

Here’s my code:


       

        
        

          
          
  
          
                                    
        

       
       

I’ve also tested switching the select to a radio and magic! It worked.

I’m really looking to keep a dropdown there however and the text input still isn’t working.

Any advices is appreciated, thank you :slightly_smiling_face: