Skip to content
#

form-builder

Here are 277 public repositories matching this topic...

mfreeman-xtivia
mfreeman-xtivia commented Mar 11, 2020

I have read and then re-read the FormBuilder docs and for the life of me its not obvious.

If i am building a new custom control Foo, and it needs to support user-editable attributes A, B, and C, how and where do I define that for my custom control?

ekstro
ekstro commented Jan 24, 2019

I'm trying to use prototype example from documentation.

$form = $this->form($this->getFormClass(), [
	'method' => 'POST',
	'autocomplete' => 'off',
	'model' => [
		'title' => 'Test',
		'tags' => [
			['name_a' => '1', 'name_b' => '2'],
			['name_a' => '3', 'name_b' => '4'],
		],
	],
    'url' => route($this->type . '.update', [
		'id' => $id
	])
]);
$this
    ->a
macrozone
macrozone commented Nov 11, 2019

If you just want to replace one field (e.g. replace the ListField with a custom one for all schemas), you need to reimplement the whole AutoField.

It would probably easier, if you could pass a getFieldComponent to a AutoForm, which would hook into here: https://github.com/vazco/uniforms/blob/master/packages/uniforms-material/src/AutoField.tsx#L24 and would take props and could return a Comp

dwasyl
dwasyl commented Aug 26, 2019

The docs mention that you can provide initial dynamic values only for text fields. Is it possible to provide the same for model object fields?

My use-case is that I have a multiple objects for which I have to collect associated data. I have multiple forms and the option to fill out one of each form associated with the object.

I.e.
Form1
Form2
Form3

Object1 has Form1 and Form3
Object2

halomademeapc
halomademeapc commented Apr 9, 2020

Hi,
I am interested in using this for some internal forms at my company, but we typically use material components for the web over bootstrap. In the documentation, "Specify custom templates for rendering different object types" is listed as a feature but I do not see any documentation on how this should be accomplished. Can you provide any guidance?

Thanks

etaque
etaque commented Mar 22, 2017

Looks like basics are good with the package structure now, but we could add a lot of documentation for those scenarios:

  • #54 #65 #89 why using defaultValue over value
  • #84 how to use Form.getOutput
  • #75 validate fields to be equal
  • #82 updating field from another field value
  • #68 how to update multiple elements once
  • #80 select a list using checkboxes
  • #71 adding and removing
mohsinkharwa
mohsinkharwa commented Apr 12, 2020

my woo commerce lost your password do not open page when clicking on it & on doing logout it shows something went wrong i search a lot for this prob and find a solution saying a plugin may cause this prob so i deactivated all the plugin and activated them one by one and checked the option the option stop working when i activated wp user front end then i activated all plugin and just deactivate wp

thxred
thxred commented Sep 10, 2019

Hi there,

works with {$attachment fieldvalue="file_field1"}, and not {$attachment field="file_field1"} as stated in the documentation.

More than 1 file using {$attachment fieldvalue="file_field1"} swiftmailer/template doesn't attach.

Also doesn't respect the upload directory settings. The files are uploaded to the ../upload directory, but swiftmailer/template expect the attachment f

Improve this page

Add a description, image, and links to the form-builder topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the form-builder topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.