Skip to content

Setting Text Input form from Slider.  #124

Closed
@jamiethain

Description

@jamiethain

I have a tree

  FormBuilder child:(Column(children:[ 
     FormBuilderSlider(...),
     FormBuilderTextField(...)   
     

What I want to do is update the values in the text field as the slider changes and I tried setting and initial value in the TextField and calling a setState () and setting as a property in the stateful class.

I had the FormBuildSlider onChanged call


 void _setBidValue(val)
  {
    setState(() {
      _bidValue = val;
    }); 
  }

Is there a proper way to set the values on the FormBuilder ?

With thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions