Open garethferguson opened 8 years ago
Yeah - the package tries to be smart and sort out a label for you. Not a bad idea to have an option to create an input without an input. Happy to take a look at any PRs that implement this.
I would like to look into this, I've setup the repo how are we supposed to test it? I don't quite understand the workflow for developing laravel packages.
composer install
on the repo and you'll be able to use PHPUnit to run the test suite. If you want to test inside a Laravel app you can define the location of the package using a local URL so you can test with your clone.
Thanks, no tests for fields (only open/close forms) ?
Looks like it, the test suite can do with some work, I never got around to implementing it completely.
Ok, well I've sent a pull request with no label options for you to take a look at.
Is it possible to create a text element without a label? I've tried setting the value to null and '' but the label is still created.
BootForm::text('amount', null, '14.50);