bootforms icon indicating copy to clipboard operation
bootforms copied to clipboard

Access to builder

Open Erwane opened this issue 8 years ago • 3 comments

Hi,

There is a way to access to builder ? ( BootForm :: getBuilder() ) I need to build a select but only the select and your Form package is cool ;)

Erwane avatar Jan 19 '16 21:01 Erwane

Do you actually want a plain unstyled select, or just not need the label? Could definitely add that method if needed!

adamwathan avatar Jan 19 '16 21:01 adamwathan

i need an unstyled select BUT binded to current form.

If i add this to BasicFormBuilder, i think it's ok :

   public function getBuilder()
    {
        return $this->builder;
    }

Erwane avatar Jan 19 '16 21:01 Erwane

Yeah sure, throw up a PR so you get the credit and I'll happily merge :+1:

adamwathan avatar Jan 19 '16 22:01 adamwathan